1
0
Fork 0
Commit Graph

178 Commits (d80d2662013607b581503af88d0dbd9cb4fdf20b)

Author SHA1 Message Date
Jordi Boggiano 7a06615bf0 Add env var to disable xdebug warnings, refs #4622 2015-11-21 20:06:31 +00:00
Nicolas Toniazzi b6df8549cd Merge remote-tracking branch 'parent/master'
Conflicts:
	src/Composer/Factory.php
2015-10-05 09:52:52 +02:00
Bryan Davis 71cb587611 Add autoloader cli options to `require` and `remove`
Update the `composer require` and `composer remove` commands to support
the `--optimize-autoloader` and `--classmap-authoritative` cli options
and associated configuration settings. All cli entry points that invoke
`Installer::run()` or `AutoloadGenerator::dump()` now have consistent
support for these autoloader optimization flags.
2015-08-19 22:18:54 -06:00
Bryan Davis cc2b9cfca5 Add cli argument for classmap-authoritative
Add a `--classmap-authoritative (-a)` argument to `composer install`,
`composer update` and `composer dumpautoload`. This enables the same
authoritative classmap behavior as the existing `classmap-authoritative`
configuration setting. The option can be used for creating highly
optimized production autoloaders via `composer install --no-dev
--optimize-autoloader --classmap-authoritative` for projects where
multiple autoloaders are present and unnecessary `file_exists` calls
introduce performance issues.

Closes #4361
2015-08-19 22:18:54 -06:00
Nils Adermann 417516098e Document that lock file name uses COMPOSER env var 2015-07-16 11:51:31 +02:00
Andreas Möller 5828f6202d Enhancement: Also validate lock file 2015-07-10 18:07:40 -04:00
Nils Adermann 39e6f51bef Clarify --no-check-publish in docs 2015-07-09 13:04:41 +02:00
Nils Adermann 984c0afddf Merge pull request #4230 from localheinz/fix/validate
Fix: Update docs for validate command
2015-07-09 13:03:35 +02:00
Andreas Möller cb1470775c Enhancement: Also validate if composer.lock is up to date 2015-07-08 21:48:12 -04:00
Andreas Möller 8b7f2c4984 Fix: Render option mono-spaced 2015-07-08 21:45:46 -04:00
Andreas Möller db1d58f3d3 Fix: Append colon to option name (for consistency) 2015-07-08 21:43:08 -04:00
Andreas Möller 22ecd0b740 Fix: Update docs for require command 2015-07-08 10:40:05 -04:00
Jordi Boggiano 0964c02acb Use only one level of verbosity 2015-07-04 12:02:57 +01:00
Rob Bast adc3e3a7f2 fixed typo (and auto whitespace) 2015-06-24 08:43:43 +02:00
Rob Bast b523a22641 updated doc 2015-06-23 22:46:16 +02:00
Rob Bast 760eeb0b03 reworked suggests command 2015-06-23 22:46:16 +02:00
Gusakov Nikita f1af16984e [Command] Add suggests command 2015-06-23 21:04:20 +02:00
Nicolas Toniazzi 7d63eb5718 Merge remote-tracking branch 'parent/master'
Conflicts:
	doc/04-schema.md
2015-06-23 14:19:12 +02:00
Rob Bast 4202032c56 updated config links 2015-06-22 14:18:49 +02:00
Rob Bast 6ee6074a5c more consistent ucfirst composer references 2015-06-22 11:08:23 +02:00
Possum 2e99b9fdf5 Use https where possible 2015-05-04 19:37:57 +02:00
Jordi Boggiano a57c51e8d7 Finalize platform override feature
- Added tests, docs
- Persist to lock file
- Add support in config command
- Added to json schema
2015-04-29 22:38:07 +01:00
Rob Bast 1575f19ef2 Updated documentation 2015-02-03 15:26:02 +01:00
Nicolas Toniazzi 865eab602f Merge remote-tracking branch 'parent/master'
Conflicts:
	src/Composer/Factory.php
2015-02-02 14:03:13 +01:00
Hannes Van De Vreken 955e3f776a Add notion of autoloader skipping autoload-dev rules 2015-01-30 21:51:12 +01:00
Padraic Brady 6ce20d36b6 Resolve final conflicts 2015-01-29 20:34:05 +00:00
Padraic Brady 19e24c5804 Merge branch 'master' into tls-config
Conflicts:
	.travis.yml
	doc/03-cli.md
	src/Composer/Command/ConfigCommand.php
	src/Composer/Command/CreateProjectCommand.php
	src/Composer/Command/DiagnoseCommand.php
	src/Composer/Command/InstallCommand.php
	src/Composer/Command/RequireCommand.php
	src/Composer/Command/SelfUpdateCommand.php
	src/Composer/Command/ShowCommand.php
	src/Composer/Command/UpdateCommand.php
	src/Composer/Config.php
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Factory.php
	src/Composer/Repository/ComposerRepository.php
	src/Composer/Repository/PearRepository.php
	src/Composer/Repository/Vcs/VcsDriver.php
	src/Composer/Util/GitHub.php
	src/Composer/Util/RemoteFilesystem.php
2015-01-29 20:31:56 +00:00
Jordi Boggiano 8d0c1a14b3 Add --ignore-platform-reqs to create-project, refs #1426 2015-01-01 16:21:22 +00:00
Jordi Boggiano b8f4960f0d Merge remote-tracking branch 'mattsah/master' 2014-12-29 20:21:43 +00:00
Jordi Boggiano c54d6f93e3 Add --absolute to resolve absolute paths in config command, otherwise set default back to relative 2014-12-16 14:28:51 +00:00
Nicolas Toniazzi ad9c3d3b30 Merge branch 'master' of https://github.com/composer/composer
Conflicts:
	src/Composer/Factory.php
2014-12-15 14:36:43 +01:00
Jordi Boggiano 901fd838f3 Merge pull request #3450 from nicolas-grekas/prefer-lowest-stable
add --prefer-lowest and --prefer-stable to update command
2014-12-14 13:02:06 +00:00
Nicolas Grekas e821ac2772 Persist prefer-lowest in composer.lock 2014-12-14 10:29:41 +01:00
Rob d26f817cfd rewriting some documentation sections 2014-12-13 18:59:14 +01:00
Jordi Boggiano 90a69cd02e Add new arg to docs, refs #3385 2014-12-08 21:21:33 +00:00
ntoniazzi b79f38fd99 Conforming to XDG Base Directory Specification (http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) 2014-12-03 11:55:50 +01:00
Matthew J. Sahagian 14fe882b44 Added no-autoloder option to install and update 2014-11-21 13:28:44 -08:00
Olivier Laurendeau 1c5c334b48 Update remove command's documentation 2014-11-15 10:36:15 +01:00
Olivier Laurendeau af79a104d9 Update require command's documentation 2014-11-15 10:35:21 +01:00
Veres Lajos 7f64afcbe8 typo fix 2014-11-04 21:47:59 +00:00
Jordi Boggiano 8a29c812e3 Fix docs 2014-10-17 15:52:44 +01:00
Jordi Boggiano 97f191a7a7 Add --ignore-platform-reqs to docs, refs #3320 2014-10-17 15:37:37 +01:00
Jordi Boggiano 2e1373b339 Update require message and delete empty file at the end in case of failure, fixes #3260 2014-10-04 17:31:45 +01:00
jakoch d45996111f docu fix (removed dangling "times." introduced by 22afc074a9) 2014-09-03 17:05:46 +02:00
Jordi Boggiano fb5d01d635 Tweak some page titles 2014-07-20 18:47:10 +02:00
Jordi Boggiano 22afc074a9 Add browse command to docs, add a -H flag and tweak fallback mechanism to maximize chances of opening something, refs #2445 2014-07-20 18:46:44 +02:00
Jordi Boggiano e3f32a79f3 Finalize and bring up to speed the remove command, refs #2479 2014-07-19 22:21:46 +02:00
Jordi Boggiano 70d9cad549 Merge remote-tracking branch 'pierredup/remove-command'
Conflicts:
	src/Composer/Console/Application.php
2014-07-19 21:47:28 +02:00
Jordi Boggiano 0c85ca426d Add code-fences to examples for syntax highlighting 2014-05-19 12:17:07 +02:00
Jérôme Macias 4f417e3985 Add --no-check-all option to composer validate command 2014-04-30 16:28:04 +02:00
Pádraic Brady 6c7dd39837 Merge branch 'master' of github.com:composer/composer into tls-config 2014-03-02 18:58:31 +00:00
Pádraic Brady 69bbe0918d Minimal documentation updates 2014-03-02 18:24:03 +00:00
Jordi Boggiano 790a25c348 Adjust dump command, add another test, update docs, refs #1344 2014-03-01 21:21:00 +01:00
Jordi Boggiano e19da1435e Update docs for the new flag 2014-02-13 14:37:11 +01:00
Jordi Boggiano 8775a89710 deprecate target-dir and update docs to recommend psr-4, refs #2459 2014-01-03 16:46:56 +01:00
Jordi Boggiano 09602bbf00 Merge pull request #2531 from cordoval/1762-document-archive
[Docu | WCM] add documentation entry for archive command on 03-cli.md
2013-12-27 04:48:40 -08:00
Luis Cordova 32eba1f142 plug version example to the command call 2013-12-27 05:34:52 -05:00
Luis Cordova 05af035219 add documentation entry for archive command on 03-cli.md 2013-12-27 05:26:01 -05:00
Jordi Boggiano 6ead35f189 Add version arg, docs for --rollback and reorganize the code, refs #2522 2013-12-27 11:06:41 +01:00
Pierre du Plessis 5267622bba Add remove command to remove a package from the list of current installed packages 2013-12-12 21:07:27 +02:00
Bilal Amarni 61cc291c8a [CreateProject] allowed pretty version constraint 2013-11-20 00:47:02 +01:00
Phillip Look 07a7284ffc Change dependency processing for update with whitelisted packages
By default dependencies of white listed packages are no longer installed automaticaly.
To Install dependencies of whitelisted packages use --with-dependencies.
- rework after review comments
- precise documentation of option
- add missing punctuation marks
2013-10-16 09:37:14 +02:00
Yuya Takeyama c88d461efd Fix link to COMPOSER_HOME 2013-10-13 18:52:28 +09:00
Jordi Boggiano 3f8836ff10 Fix some docs 2013-09-26 12:00:12 +02:00
Jordi Boggiano ad2b8c4897 Add docs for global command 2013-08-17 03:45:51 +02:00
Ivan Enderlin 766f6fc1ef Fix a typo. 2013-08-14 15:37:09 +02:00
Jordi Boggiano 565e216afb Adjust cache-dir docs, fixes #1667 2013-08-13 15:19:08 +02:00
radnan b743ea8dd4 added documentation for no_proxy env var 2013-06-20 14:03:00 -05:00
Jordi Boggiano 22c7d4119f install and create-project now default to dev mode (use --no-dev for production installs) 2013-06-04 15:22:19 +02:00
Jordi Boggiano 4b22d7582a Merge remote-tracking branch 'schmunk42/feature-create-project-events' 2013-06-01 13:32:07 +02:00
Tobias Munk f28f3c2d96 updated docs with new create project command information 2013-05-31 11:39:14 +02:00
Jordi Boggiano 1debe22412 Add HTTPS_PROXY_REQUEST_FULLURI to disable the request_fulluri only for https requests, fixes #1946, fixes #1839 2013-05-30 14:59:02 +02:00
Jordi Boggiano f6b7f0e29a Add --lock argument to the update command to make this hack explicit and official 2013-05-30 10:08:34 +02:00
Jordi Boggiano b422261219 Add missings bits and pieces to cli docs 2013-05-04 10:46:10 +02:00
Jordi Boggiano 8c197d2325 Fix CS and wording, remove lowercased env var, add env var to docs 2013-04-25 17:20:50 +02:00
Jordi Boggiano 894f530898 Add COMPOSER_DISCARD_CHANGE env var, refs #1188 2013-04-10 18:31:10 +02:00
Jordi Boggiano 605cd3ddc3 Rename diag to diagnose, fix feedback 2013-04-04 15:46:08 +02:00
Jordi Boggiano 7740196b13 Add docs for diag command 2013-04-04 00:47:03 +02:00
Jordi Boggiano 83ea90296e Add COMPOSER_NO_INTERACTION env var to allow travis & others to easily make sure every composer run is non-interactive 2013-04-02 10:34:49 +02:00
Elan Ruusamäe 32601d4b52 Update 03-cli.md
config schema section anchor has changed
2013-04-02 00:39:07 +03:00
Jordi Boggiano c32470c7df Update docs, fix tests 2013-03-03 17:59:07 +01:00
Michael Gooden 660861c7fd Update 03-cli.md
Fix small typo.
2013-03-02 13:42:53 +02:00
David Zuelke 7e1f81dc1e rename vendor-bins.md to vendor-binaries.md 2013-01-14 19:42:12 +01:00
David Zuelke e423c69d8e Rename "vendor bins" to "vendor binaries"
Because a binary is not a receptacle :) Less confusing this way.
2013-01-14 19:01:09 +01:00
Jordi Boggiano b0b9c7b0d1 Add docs for #1410 2012-12-13 17:19:58 +01:00
Aurélien Thieriot e264282ac7 Allowed only * wildcard 2012-12-13 14:06:06 +00:00
Aurélien Thieriot 159badb06b Add ability to use a Regexp when updating packages 2012-12-13 12:24:42 +00:00
Jordi Boggiano ae734229d7 Merge pull request #1400 from igorw/patch-3
[docs] Format config command options consistently
2012-12-07 01:17:20 -08:00
Igor Wiedler f6a761ac5d [docs] Format config command options consistently 2012-12-07 04:33:14 +01:00
Igor Wiedler 01f0a2b165 [docs] Lower-case config command name 2012-12-07 04:30:44 +01:00
Jordi Boggiano dfb5516af6 Merge pull request #1375 from igorw/missing-docs
Document batch notification API and cli command options
2012-12-02 11:46:03 -08:00
Devon Weller 0484febffe moved misplaced backtick 2012-12-02 07:56:01 -06:00
Devon Weller 385709ba6c Updated config command documentation.
This implements issue #1377.
2012-12-02 06:52:07 -06:00
Devon Weller 9aa2c5f1ee Updated config command documentation.
This implements issue #1377.
2012-12-02 06:49:51 -06:00
Devon Weller c2a97663f6 Added config command documentation.
This implements issue #1377.
2012-12-02 06:43:11 -06:00
Igor Wiedler 7461be280b [docs] status command 2012-11-30 17:23:01 +01:00
Igor Wiedler 303debe047 [docs] --name-only option for search command 2012-11-30 17:15:36 +01:00
Igor Wiedler 162b1f6653 [docs] -s shorthand for --stability 2012-11-30 17:10:37 +01:00
Igor Wiedler 77062eb792 [docs] --stability option for init command 2012-11-30 17:07:30 +01:00
Igor Wiedler 5317f9e542 [docs] create-project command --stability option 2012-11-30 16:46:22 +01:00