1
0
Fork 0
Commit Graph

118 Commits (80f1e4372a10427aaf06d5cda87a9bf74db200ab)

Author SHA1 Message Date
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
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
Hannes Van De Vreken 955e3f776a Add notion of autoloader skipping autoload-dev rules 2015-01-30 21:51:12 +01: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
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
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
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