1
0
Fork 0
Commit Graph

225 Commits (550c01b471c0deecf95647b7b48e7712623208da)

Author SHA1 Message Date
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
Jordi Boggiano 5480f7ba26 Fix option name 2012-11-08 22:26:55 +01:00
Jordi Boggiano 992249d4cc Update CLI docs 2012-11-08 15:44:58 +01:00
Jordi Boggiano a8561fafda Clarify docs of create-project, refs #1300 2012-11-08 15:44:41 +01:00
Ismael Ambrosi 40d289feba Added reference to --dev option in show command 2012-10-11 14:47:08 -02:00
Jordi Boggiano fde3135a12 Add dump-autoload docs 2012-08-15 12:39:53 +02:00
till 37b1e4c4a8 Share more info about COMPOSER_HOME/config.json. 2012-08-13 16:26:24 +02:00
Kyle Robinson Young 6375bc5551 Typo fixes 2012-06-20 14:15:54 -07:00
Grégoire Pineau 3068e92446 [Doc] Added a note to install composer globally 2012-06-14 10:16:15 +02:00
Igor Wiedler 0afd5dcd51 Add some missing options to the CLI docs 2012-05-30 23:55:04 +02:00
Jordi Boggiano 76f727b273 Update docs 2012-05-26 15:27:35 +02:00
Jordi Boggiano b33496c853 Merge remote-tracking branch 'jeremyFreeAgent/master'
Conflicts:
	doc/03-cli.md
2012-05-26 12:40:36 +02:00
Jordi Boggiano 5498b8d6a0 Add COMPOSER_ROOT_VERSION env var to override the root version 2012-05-24 20:36:47 +02:00
Igor Wiedler bca2ab7836 [docs] Correct default process timeout 2012-04-26 18:59:09 +02:00
Igor Wiedler 1d3fd25cf2 [docs] Improve description of COMPOSER_HOME 2012-04-26 18:58:16 +02:00
Igor Wiedler b14aac84ae [docs] Document COMPOSER_HOME 2012-04-26 17:24:31 +02:00
Jordi Boggiano 8d4f8543fc Update docs 2012-04-14 23:52:52 +02:00
Igor Wiedler 3cccc29b55 [improve-docs] Explain what the root package is, refs #500 2012-04-13 14:35:13 +02:00
Igor Wiedler e802b98897 [improve-docs] Move create-project command documentation into cli chapter 2012-04-13 12:36:27 +02:00
Jérémy Romey 260d7d434f Add a command for adding package to composer.json
Updated doc for require command
2012-04-03 13:49:42 +02:00
Jordi Boggiano 81fdd790f2 Notes on HTTP_PROXY env var 2012-03-20 14:03:01 +01:00
Nils Adermann 98686e32e2 fix typo "is is" => "it is" 2012-03-17 15:02:39 +01:00
Jordi Boggiano f3c4b8661d finish updating links to .md 2012-03-08 00:18:03 +01:00
Travis Northcutt cee5fed25f added prev/next links to docs 2012-03-07 23:36:27 +01:00
Igor Wiedler 29871573d0 [docs] add docs for HTTP_PROXY env var to the cli page, refs #394 2012-03-07 00:03:35 +01:00
Jordi Boggiano 202cfb4fb9 Some docs update 2012-02-29 15:57:16 +01:00
Igor Wiedler 672e7d85a1 [docs] re-word some things, document env vars 2012-02-26 12:40:35 +01:00
Igor Wiedler c42e37037a [docs] wrap all lines to 80 chars 2012-02-20 11:08:18 +01:00
Igor Wiedler 57c13df37e [docs] chapter about the cli 2012-02-19 15:16:25 +01:00