1
0
Fork 0
Commit Graph

1146 Commits (eaae360ce61857821cfd027c6fc3e5642a4c9c98)

Author SHA1 Message Date
Jordi Boggiano bd7f28bc34 Output to STDERR 2016-06-28 11:56:50 +01:00
Jordi Boggiano 4baaacc193 Add docs about installing composer programmatically, fixes #5474 2016-06-28 11:41:34 +01:00
bohwaz 49a94ca7fd Update docs for fossil support 2016-06-23 08:42:11 +12:00
Jordi Boggiano a8bb93aa1f Fix typo 2016-06-02 11:59:21 +01:00
Jordi Boggiano 72c9fab976 Merge pull request #5394 from svengerlach/more-no-scripts
--no-scripts option for remove and require command
2016-06-01 23:34:08 +02:00
Jordi Boggiano 11e53e6f84 Merge pull request #5396 from Soullivaneuh/patch-1
Use caret operator for unbound version constraints doc
2016-06-01 23:33:21 +02:00
William Entriken 618026fd3e More specific language and clearer warning 2016-06-01 16:25:50 -04:00
Sullivan SENECHAL 567497ae9f Use caret operator for unbound version constraints doc
Because the caret is closer to semver than the tilde.
2016-06-01 15:24:13 +02:00
Sven Gerlach da4d5c670a Added option --no-scripts for require and remove command to 03-cli.md 2016-06-01 12:32:54 +02:00
Jordi Boggiano 78fd5bd14f Add new FAQ, refs #5382 2016-05-31 20:57:31 +01:00
Brian DuSell 66357e8b5b Update 02-libraries.md
hit the "Submit" -> hit the "Submit" button
2016-05-19 13:23:38 -05:00
mastre abfe74244a Update versions.md
Clearer language with less chance for confusion, Though -> Although -- edited because I was confused myself when I first read it.
2016-05-12 19:02:22 -07:00
Jordi Boggiano 124852f15d Merge pull request #5319 from joy2fun/1.1
Tips for running composer without xdebug enabled.
2016-05-12 15:35:41 +02:00
Chiao d2bc5f4563 Add aliases for composer to disable xdebug. 2016-05-12 13:46:59 +08:00
Mickael GOETZ 9303a04bed fix `http-basic` json example
The JSON example for the `http-basic` option was missing the closing curly brace.
2016-05-11 23:04:51 +02:00
Mathias Brodala d9909993b2 Add --prefer-stable and --prefer-lowest to "require" command
Fixes #5314
2016-05-11 17:45:41 +01:00
Niels Nijens d113b2b5ec Fix typos in the word priority 2016-05-10 14:27:20 +02:00
Jordi Boggiano b8974a3e13 Merge branch '1.1' 2016-05-05 14:10:14 +01:00
Jordi Boggiano d3eece0af2 Cross-link versions to stability flags and minimum-stability, fixes #5278 2016-05-05 13:33:08 +01:00
Jordi Boggiano d2e26907c7 Update schema URL 2016-05-04 10:34:12 +01:00
Bilal Amarni 253a30793d updates 2016-05-03 08:22:54 +02:00
Bilal Amarni c1bc50dd2a add missing interface 2016-05-02 12:50:25 +02:00
Bilal Amarni 81f33e9739 document plugin capabilities (closes #5262) 2016-05-02 09:19:40 +02:00
Jordi Boggiano 4319435154 Make sure the --no-plugin is documented as available everywhere and not redefined 2016-04-28 20:12:45 +01:00
Jordi Boggiano 35fbf9bc14 Merge branch '1.0' 2016-04-28 19:54:11 +01:00
Jordi Boggiano fd5f90989f Add --all to oudated command and switch it to show only outdated by default, fixes #5253 2016-04-28 19:48:56 +01:00
Jordi Boggiano 135783299a Add support for editing top level properties and extra values, replaces #2415, fixes #1411, fixes #2384 2016-04-27 14:04:01 +01:00
Bilal Amarni b93ea0e540 [doc] add a command helper for the global bin dir 2016-04-27 10:07:47 +02:00
Jordi Boggiano a67b127a1a Add deprecation notice for the event type hint rewrites, refs #5238 2016-04-24 15:48:48 +01:00
Jordi Boggiano aabe21d84d Add --direct and --outdated flags to ShowCommand & OutdatedCommand, fixes #5240 2016-04-24 15:17:08 +01:00
Jordi Boggiano e7069dd5e8 Tweak colors in the output, make sure we load the proper version according to stability flags and add outdated command, refs #5028 2016-04-22 21:54:04 +01:00
Jordi Boggiano d8c94c2640 Merge remote-tracking branch 'curry684/home-expansion' 2016-04-22 20:37:05 +01:00
Jordi Boggiano aeafe2fe59 Add INIT event and bump plugin-api to 1.1.0, fixes #5232 2016-04-22 20:30:24 +01:00
forevermatt f1a16596d1 Fix small typos 2016-04-20 13:25:06 -04:00
Michael Foss 6ffc39a0ad Convert documentation to ordered list
Switch the dependency management documentation
to an ordered list from a pseudo-ordered list. This
has the benefit of using more structured markdown,
and the added benefit of matching the "Suppose"
list items with corresponding "Composer" list items.
2016-04-19 10:15:03 -04:00
Jordi Boggiano 21a9f21cc8 Add package filtering in show command, fixes #5212, closes #5215 2016-04-19 11:31:41 +01:00
Niels Keurentjes c9534d48c1 Made env variable parsing in path replacements generic across platforms and replaced old config.php implementation. 2016-04-13 02:02:50 +02:00
Niels Keurentjes f5422a441d Fixed Windows path separators and updated docs. 2016-04-12 23:51:28 +02:00
Niels Keurentjes 2e2cec29bd Docs for tilde expansion. 2016-04-12 13:44:26 +02:00
Jordi Boggiano 60ce2324bc Add ability to call composer from scripts using @composer XXX, fixes #5153 2016-04-11 19:03:32 +01:00
Jordi Boggiano 5ae2deeee2 Fix minor wording issues, refs #5170 2016-04-11 14:32:34 +01:00
Luis Ferro b37178577c Update troubleshooting.md
Alternative way to turn off composer on Mac OS, with PHP installed in user available folders by Homebrew.
2016-04-08 20:34:36 +01:00
Jordi Boggiano 134ce134a2 Rename COMPOSER_DISABLE_ROOT_WARN to COMPOSER_ALLOW_SUPERUSER, refs #5119 2016-04-02 14:25:21 +01:00
Jordi Boggiano cb8587cdad Add COMPOSER_DISABLE_ROOT_WARN env var and skip root warning on self-update command as well, refs #5119 2016-04-01 12:31:07 +01:00
Jordi Boggiano e5813d06ae Merge pull request #5125 from markatom/rss-support
Add RSS channel to support section in composer schema
2016-04-01 03:34:27 +02:00
Jordi Boggiano 2c9326bacb Merge remote-tracking branch 'wenkepaul/master' 2016-04-01 00:59:11 +01:00
Tomáš Markacz bb05ce5c7f Add RSS channel to support section in composer schema (closes #5073) 2016-03-28 10:23:34 +02:00
Jordi Boggiano f18f383a7b Merge pull request #5113 from Slamdunk/patch-2
Install / Update script event changed, now documented
2016-03-26 09:31:53 +01:00
Andrew Marcinkevičius 19c6458e6e Fix typo 2016-03-25 13:17:29 +02:00
Filippo Tessarotto 4d1416050d Adapt scripts doc to 55b0ed8c8b 2016-03-25 12:16:56 +01:00
Andrew Marcinkevičius bddf0d4f46 Fix typo 2016-03-24 18:30:23 +02:00
marsuboss 0cd5008a8f Update 04-schema.md 2016-03-14 17:25:58 +01:00
Nicolas Grekas 08d48cb61a Prefer ZipArchive over unzip on Windows 2016-03-11 11:07:36 +01:00
Paul Wenke d2c5479b2d Updated documentation and fixed formatting in Bitbucket Util. 2016-03-06 22:20:22 -05:00
Jordi Boggiano 30b7015f31 Update docs for github-protocols 2016-03-01 13:46:54 +00:00
Anthony Kuske cb6e567967 Gender neutral authors 2016-02-29 18:59:19 +00:00
Jordi Boggiano 1aec1c1fc8 Add --repository flag to init command, and rename --repository-url to --repository in create-project, fixes #4200, closes #4207, closes #2604, fixes #2920 2016-02-29 17:33:46 +00:00
Niels Keurentjes 379d769132 Troubleshooting and warning in code related to issues with native ZipArchiver. 2016-02-26 08:38:39 +01:00
Jordi Boggiano 06be9b88c2 Merge remote-tracking branch 'slbmeh/feature/gh-2787' 2016-02-25 19:03:36 +00:00
Jordi Boggiano 44cfad36b7 Merge remote-tracking branch 'curry684/sort-suggestions' 2016-02-25 18:47:19 +00:00
Jordi Boggiano c0883d85fa Fix backticks 2016-02-25 15:44:15 +00:00
Jordi Boggiano 250862b325 Merge pull request #4941 from astehlik/doc/troubleshoot-ssh-controlma
Troubleshoot info about SSH ControlMaster
2016-02-25 15:33:06 +00:00
Jordi Boggiano 04a1085d47 Rename new flag to --root-reqs, refs #4938 2016-02-25 14:39:50 +00:00
Jordi Boggiano a0bff7af1d Merge pull request #4958 from kler/patch-1
Update troubleshooting.md
2016-02-25 12:47:16 +00:00
Jordi Boggiano cb59cf0c85 Allow exception to secure-http for packagist provider files and add docs, refs #4907 2016-02-25 12:36:09 +00:00
Jordi Boggiano 35d26db704 Add docs for exec command, refs #4887 2016-02-25 12:21:30 +00:00
Patrik Lermon 1da09f24ee Update troubleshooting.md 2016-02-25 12:48:46 +01:00
Jordi Boggiano 4df7ade801 Merge remote-tracking branch 'burci/feature/path_downloader_option_to_force_copy' 2016-02-25 11:42:47 +00:00
Patrik Lermon 0c93bc3d0b Update troubleshooting.md 2016-02-25 11:18:41 +01:00
Patrik Lermon 271c778300 Update troubleshooting.md 2016-02-25 10:43:07 +01:00
Patrik Lermon 5e1bd00089 Update troubleshooting.md 2016-02-25 10:28:19 +01:00
Patrik Lermon 8a4a27e450 Update troubleshooting.md 2016-02-25 10:27:47 +01:00
Patrik Lermon 06dc17ac8e Update troubleshooting.md
Adding a workaround for disabling xdebug while executing composer.
2016-02-25 10:04:50 +01:00
Jordi Boggiano f681dbc51e Merge remote-tracking branch 'curry684/rewrite-depends' 2016-02-24 17:42:11 +00:00
Peter Buri 861b2bc8e8 Introduce option to force copy instead of symlinking in PathDownloader 2016-02-22 13:41:28 +01:00
Alexander Stehlik 1fc4a00db7 Troubleshoot info about SSH ControlMaster
Relates: #4180
2016-02-22 11:18:57 +01:00
Jordi Boggiano 7e44d19d59 Rewrap 2016-02-20 18:56:22 +00:00
Jordi Boggiano 9e41ce2ab1 Merge pull request #4842 from cgrossde/patch-1
Document IPv6 workarounds. Fixes #4748.
2016-02-20 18:53:59 +00:00
Niels Keurentjes 47da91d998 Updated documentation for depends/prohibits. 2016-02-20 01:53:51 +01:00
Niels Keurentjes 53b6417707 Missed some docs on composer depends. 2016-02-16 16:50:06 +01:00
Jordi Boggiano 93501a5e3f Merge pull request #4920 from curry684/issue-4918
Add a --timeout parameter to run-script to override default timeout
2016-02-16 13:33:00 +00:00
Piotr Antosik aeb72fb7c6 Update github api url 2016-02-16 01:12:29 +01:00
Niels Keurentjes 126e71a991 Adds a --timeout parameter to run-script to override default timeout. 2016-02-15 20:47:43 +01:00
Niels Keurentjes 21e262cb8a Documentation updated for new depends parameters. 2016-02-15 01:11:24 +01:00
Niels Keurentjes 575e3fd3d8 Updated docs for new suggest parameters. 2016-02-14 21:31:15 +01:00
Oliver THEBAULT 71e83bc34f fix documentation which use a single pipe for a "logical OR" 2016-02-12 10:09:28 +01:00
Jordi Boggiano 0ea2890ed6 Update install instructions 2016-02-10 18:41:18 +00:00
Bilal Amarni 8b4761ff14 [doc] add -H flag to sudo commands 2016-02-03 15:46:15 +01:00
Chris 3775b05e19 Document IPv6 workarounds. Fixes #4748. 2016-01-27 12:41:08 +01:00
Jordi Boggiano 618190027a Merge pull request #4791 from balbuf/patch-1
Clarify "path" repository type version requirement
2016-01-27 10:19:22 +00:00
Stephen Beemsterboer d58a788485 Clarify "path" repository type version requirement 2016-01-26 22:12:06 -05:00
Jordi Boggiano 593b88e414 Let users configure *any auth* via COMPOSER_AUTH and add it to the docs, refs #4546 2016-01-26 19:09:57 +00:00
Jordi Boggiano c4df3ec0d4 Rewrap text and few minor typos, refs #4832 2016-01-26 12:17:10 +00:00
Daniel Mason 48287b5a1c Removed new style array syntax 2016-01-26 11:47:36 +00:00
Daniel Mason 41937ef781 More comprehensive documentation of event handlers 2016-01-26 11:38:12 +00:00
Jordi Boggiano c5cb2327cf Merge remote-tracking branch 'bamarni/config-repo-options' 2016-01-25 21:28:22 +00:00
Bilal Amarni e727f9f5fe [Config command] allow to pass options when adding a repo 2016-01-25 19:25:10 +01:00
Jordi Boggiano 9d08a7943a Merge pull request #4819 from 0mars/master
Fix Broken Links in troubleshooting.md
2016-01-25 17:58:49 +00:00
Bob4ever eb8df89cd5 Update custom-installers.md 2016-01-25 14:29:37 +01:00
Omar Shaban 05c5aee1f1 Fix Broken Links in troubleshooting.md 2016-01-23 20:50:43 +02:00
Rob Bast 1adb2e6005 Merge branch 'master' of github.com:composer/composer into capath
* 'master' of github.com:composer/composer:
  fix typo
  minor tweaking of phrasing
  move to troubleshooting
  add possible work-around / solution
  initial document
2016-01-21 15:00:45 +01:00
Jordi Boggiano 06a21132db Merge pull request #4713 from alcohol/pitfalls-doc
document common mistakes and misconceptions in a pitfalls article
2016-01-21 12:25:47 +00:00
Rob Bast c1488f65bf a quick stab at adding capath 2016-01-20 21:20:18 +01:00
Rob Bast a927499bd5 fix typo 2016-01-19 15:12:46 +01:00
Jordi Boggiano 96ff17c520 Cleanups of XDG support, refs #1407 2016-01-18 18:26:05 +00:00
Jordi Boggiano 3e9efcfb85 Merge remote-tracking branch 'ntoniazzi/master' 2016-01-18 17:52:46 +00:00
Jordi Boggiano d7c61c50ad Merge branch 'tls-config' 2016-01-16 16:55:19 +00:00
Jordi Boggiano a0398286ba Wording fixes 2016-01-16 16:18:00 +00:00
Rob Bast 8cc50f9c8b minor tweaking of phrasing 2016-01-12 08:47:11 +01:00
Rob Bast aca19deffa move to troubleshooting 2016-01-11 10:23:14 +01:00
Sullivan SENECHAL 358b798ac3 Add Symfony 3 special case on depends command doc 2016-01-11 09:52:25 +01:00
Jordi Boggiano f8dff0867c Remove --disable-tls/--cafile flags and rely solely on config options plus some wording clarifications 2016-01-10 16:37:11 +00:00
Jordi Boggiano 5d015defb8 Merge remote-tracking branch 'origin/master' into tls-config 2016-01-10 16:10:22 +00:00
Bilal Amarni ec7d9f9fad [doc] add a link about composer auto-completion 2016-01-10 12:17:04 +01:00
Jordi Boggiano 814e09c456 Clarify global packages and what global cmd does, fixes #4495, closes #4525 2016-01-09 19:08:22 +00:00
Jordi Boggiano 42cb3dafc4 Merge remote-tracking branch 'Soullivaneuh/depends-replaces' 2016-01-09 18:19:49 +00:00
Jordi Boggiano 4fbf15e6d6 Tweaks and add new args to docs, refs #4663 2016-01-09 18:16:58 +00:00
Jordi Boggiano d6ae9a0529 Tweak docs, refs #4716 2015-12-22 20:44:41 +00:00
hanov.ruslan 38615181c6 Added doc about sort-packages config option 2015-12-21 21:59:40 +03:00
Rob Bast 04fb28a9cb add possible work-around / solution 2015-12-17 14:15:07 +01:00
Rob Bast 8b12e39509 initial document 2015-12-17 10:14:39 +01:00
Rob 09b644faa6 Merge pull request #4674 from Soullivaneuh/depends-doc-ouput
Update depends output on documentation
2015-12-07 09:59:17 +01:00
Sullivan SENECHAL 0eb7e2f216 Add --with-replaces option on depends command 2015-12-06 16:50:24 +01:00
Sullivan SENECHAL fb5ea02b49 Update depends output on documentation 2015-12-06 16:44:44 +01:00
JamesRezo 5c2df001dd add notify-batch in schema 2015-12-04 08:41:17 +01:00
Jordi Boggiano feefd51565 Fix custom installer example, fixes #4648 2015-12-03 16:17:58 +00:00
Rob c74fa483d8 Merge pull request #4668 from mpdude/patch-1
Add a note how to use package and repository URL filters
2015-12-03 11:43:13 +01:00
Rob 824879a8d5 Merge pull request #4642 from JamesRezo/doc/satis
Satis documentation updates
2015-12-03 11:41:41 +01:00
Matthias Pigulla 7fa72b3e6a Add a note how to use package and repository URL filters 2015-12-03 11:37:06 +01:00
Jordi Boggiano b6bac0c2d3 Merge pull request #4640 from lukaswoj/docs-code-standards-link-404-error-fix
Fix broken link on Community docs page
2015-11-29 17:21:38 +00:00
JamesRezo ff93bd5bf2 Typo again 2015-11-27 14:22:50 +01:00
Jordi Boggiano bb2e29ba28 Add warning about --tree 2015-11-27 10:56:32 +00:00
JamesRezo b63cfb7b37 Other options 2015-11-27 09:30:04 +01:00
Jordi Boggiano a79d0ab886 Merge remote-tracking branch 'jeremyFreeAgent/feature/tree' 2015-11-27 00:10:04 +00:00
JamesRezo b4e0d1e879 Indentation 2015-11-26 16:48:17 +01:00
JamesRezo 33f725e99b Satis documentation updates 2015-11-26 16:31:49 +01:00
Łukasz Wojciechowski f627365359 Fix broken link on Community docs page 2015-11-26 15:05:30 +01:00
Jérémy Romey 36271a7dd1 Added a tree view of required packages 2015-11-26 11:06:09 +01:00
Sullivan SENECHAL 9fd67e9e82 Add alias trick on xdebug documentation part 2015-11-25 17:10:18 +01:00
Jordi Boggiano 25fd5065f7 Tweak path repo docs, refs #4588 2015-11-22 16:39:17 +00:00
Jordi Boggiano 1de34e0968 Fix php example 2015-11-22 16:33:09 +00:00
= 1c3c84cf88 Typo fix ("Example:" must go outside the JSON block). 2015-11-22 16:30:55 +01:00
= 9fd9d34b40 Describe how to reference PHP versions and PHP extensions. 2015-11-22 16:26:10 +01:00
Jordi Boggiano a10bffec0e Merge remote-tracking branch 'GromNaN/gitlab' 2015-11-21 21:48:46 +00:00
Jordi Boggiano 7a06615bf0 Add env var to disable xdebug warnings, refs #4622 2015-11-21 20:06:31 +00:00
Jordi Boggiano f2b0e2284a Remove suggestion which is now kinda useless 2015-11-21 02:59:25 +00:00
Jordi Boggiano 4071b09091 Merge pull request #4615 from staabm/xdebugwarn
add a warning when xdebug is loaded while running composer commands
2015-11-19 14:47:52 +00:00
Markus Staab a59f0a7ca8 add a warning when xdebug is loaded while running composer commands 2015-11-19 13:57:57 +01:00
Rob 06586c9b40 Merge pull request #4612 from potherca/path-repository-documentation
Adds more details about Path Repository to the Documentation - #4412
2015-11-19 10:53:12 +01:00
Ben Peachey 11c71fb09f Review feedback: fixes line length and typos. 2015-11-18 20:14:36 +01:00
Rob d7d91269ec Merge pull request #4554 from Minishlink/patch-1
Add "out of memory" tip
2015-11-16 13:23:56 +01:00
Ben Peachey 9775379e64 Adds some more details about Path Repository #4412
- Mentions symlinking
- Mentions absolute paths also being supported
2015-11-15 11:26:00 +01:00
Jordi Boggiano adc0bbeeb9 Forward args/flags down to referenced events 2015-11-14 14:02:47 +00:00
Jérôme Tamarelle ac68a721f4 Merge remote-tracking branch 'composer/master' into gitlab
Conflicts:
	doc/04-schema.md
	src/Composer/Util/RemoteFilesystem.php
2015-11-14 14:13:39 +01:00
Giorgio Premi a25492d1b9 Allow composer script call with @ syntax 2015-11-09 15:34:11 +01:00
Jordi Boggiano 5a5088eb34 Add docs about wildcard support 2015-10-30 20:48:26 +00:00
Jordi Boggiano 463236cb74 Close code block in docs and tweak some wording 2015-10-30 18:51:52 +00:00
Jordi Boggiano 084f6de24e Merge remote-tracking branch 'trivago/add_exclude'
Conflicts:
	doc/04-schema.md
	src/Composer/Autoload/AutoloadGenerator.php
2015-10-30 00:00:44 +00:00
Louis Lagrange 842e09a143 Typo 2015-10-29 13:32:12 +01:00
Louis Lagrange 3df536a3ba Wrap lines at the correct limit
Assuming this limit is 80 cols.
2015-10-29 13:29:33 +01:00
Louis Lagrange fbe2a5e726 Add "out of memory" tip 2015-10-28 20:14:23 +01:00
Jordi Boggiano 615638c7c3 Simplify bin-compat by removing the nosymlink option, refs #3704 2015-10-27 15:36:12 +00:00
Jordi Boggiano c9b51a5751 Merge remote-tracking branch 'kocsismate/feature-bin-compat' 2015-10-27 15:20:53 +00:00
Rob 7a9eb02190 Merge pull request #4455 from samsaggace/config_archive
Enable command line configuration for archive-dir and archive-format
2015-10-07 12:05:33 +02:00
Nicolas Toniazzi b6df8549cd Merge remote-tracking branch 'parent/master'
Conflicts:
	src/Composer/Factory.php
2015-10-05 09:52:52 +02:00
3onyc 8cacb16cce Typo: prefering -> preferring 2015-10-03 22:40:55 +02:00
Sebastien Chemin 13f6ae1820 Fix archive-dir documentation example
Use an example of archive-dir configuration
2015-09-28 13:33:35 +02:00
Jordi Boggiano 8f44f9cc67 Merge pull request #4422 from dennisbirkholz/wildcard-repositories
Enable wildcards in path names for path repositories
2015-09-20 16:41:02 +01:00
Jordi Boggiano 8913ac2fff Merge pull request #4362 from bd808/classmap-authoritative-cli
Add cli argument for classmap-authoritative
2015-09-20 16:00:21 +01:00
Jordi Boggiano 620e629ec3 Update some more descriptions, refs #4114 2015-09-20 14:11:09 +01:00
Jordi Boggiano b9fbd5e5b1 Merge remote-tracking branch 'nevvermind/patch-2' 2015-09-20 14:08:32 +01:00
Dennis Birkholz 17636d1bd2 Use 'note' box to inform about wildcards 2015-09-18 14:23:54 +02:00
Dennis Birkholz e4435790a4 Documentation 2015-09-15 17:39:55 +02:00
Gabriele Santini dd0070af98 Update 05-repositories.md
fix typo
2015-09-15 16:44:41 +02:00
Samuel ROZE 284e4761bf Add documentation about the `path` repository 2015-09-14 09:48:15 +01:00
Rob 9f6fdfd703 spelling 2015-09-07 18:55:30 +02:00
Daniel Fahlke f0d6436293 add period 2015-09-05 17:12:20 +02:00
Daniel Fahlke d19aeab55c add another case when package is not found
occurred for my when I wanted to update a meta package, where nearly **ALL** dependencies changed their version.
2015-09-05 11:46:02 +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
Rob Bast 91336a8312 Merge branch 'feature/document-need-to-require-autoloader-in-script-hooks' of git://github.com/jeskew/composer into jeskew-feature/document-need-to-require-autoloader-in-script-hooks
* 'feature/document-need-to-require-autoloader-in-script-hooks' of git://github.com/jeskew/composer:
  "No files" was inaccurate; amend to specify "no files except"
  House style requires concatenation in examples
  Reiterate the disclaimer in the context of callbacks
  Add a line and example to the documentation covering the need to require the autoloader file in order to use autoloaded files
2015-08-12 13:48:55 +02:00
Jordi Boggiano 976491d865 Rewrap markdown, refs #4329 2015-08-09 15:09:34 +01:00
emersonthis 5508bb8725 Clarified instructions 2015-08-04 16:54:43 -04:00
Kocsis Máté 87c16073ec Merge branch 'master' of https://github.com/composer/composer into feature-bin-compat 2015-07-22 15:54:20 +02:00
Jordi Boggiano c6cc6dd607 Advise the use of absolute paths, fixes #4259 2015-07-21 14:46:38 +01:00
Jordi Boggiano b260a9972f Timeouts are not necessarily cause for alarm 2015-07-20 17:50:56 +01:00
Jordi Boggiano dafa9efa8f Remove whitespace 2015-07-20 17:50:34 +01:00
Jordi Boggiano ff84b32097 Add degraded mode to try and bypass ipv6/gzip issues, refs #4142, refs #4121 2015-07-20 17:33:53 +01: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
Nils Adermann 93fd8a928a Merge pull request #4235 from localheinz/fix/colon
Fix: Streamline options in documentation
2015-07-09 13:01:07 +02:00
Ivan Krechetov a9b98dc5b0 Fix a typo: interally -> internally 2015-07-09 08:54:24 +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
Jordi Boggiano 5ba41514a9 Merge remote-tracking branch 'alcohol/add-suggests-command' 2015-07-04 11:58:58 +01:00
Jordi Boggiano e817dba90c Rendering fix, refs #4172 2015-07-04 11:56:17 +01:00
Jordi Boggiano 812167b2a0 Formatting tweaks, refs #4172 2015-07-04 11:54:56 +01:00
Jordi Boggiano edf121ce11 Minor tweaks, refs #4172 2015-07-04 11:51:55 +01:00
Jordi Boggiano 720a25abb9 Merge remote-tracking branch 'alcohol/split-schema-documentation' 2015-07-04 11:45:49 +01:00
Jeremy Postlethwaite 558fca8a23 Changing config.json to satis.json
Updating docs to use `satis.json` instead of `config.json`
2015-07-01 14:15:24 -07:00
Jonathan Eskew 4e3fbeabfc "No files" was inaccurate; amend to specify "no files except" 2015-07-01 09:38:14 -07:00
Jonathan Eskew 56ffa407f1 House style requires concatenation in examples 2015-07-01 09:15:22 -07:00
Rob Bast 16a7cf19fc outside of table, no need to escape 2015-06-30 15:49:00 +02:00
Rob Bast d8d2bcadde added some links and some restructuring 2015-06-30 15:49:00 +02:00
Rob Bast 50db9393e5 better phrasing / structure + moved version testing link 2015-06-30 15:49:00 +02:00
Rob Bast 10b813fc40 reworking basic usage, added versions article 2015-06-30 15:49:00 +02:00
Rob Bast eb98613672 add installer information 2015-06-30 15:49:00 +02:00
Rob Bast 4ddd5aa37f cleaned up intro page a bit 2015-06-30 15:49:00 +02:00
Sam Minnee 5cd1b6d56f Added documentation about -stable suffix in version range comparison. Fixes #4080. 2015-06-30 13:10:16 +01:00
Jonathan Eskew 5fe37357a2 Reiterate the disclaimer in the context of callbacks 2015-06-29 14:44:28 -07:00
Jonathan Eskew 26a2e94e78 Add a line and example to the documentation covering the need to require the autoloader file in order to use autoloaded files 2015-06-27 14:38:09 -07: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 48ff6b61b3 ucfirst packagist 2015-06-22 14:10:54 +02:00
Rob Bast eba72fdd43 removed uneccesary nesting 2015-06-22 14:05:50 +02:00
Rob Bast 5a2a78fd29 the note already explains the same, but better 2015-06-22 11:23:09 +02:00
Rob Bast 3e1b7ee295 link back to schema 2015-06-22 11:13:12 +02:00
Rob Bast 6ee6074a5c more consistent ucfirst composer references 2015-06-22 11:08:23 +02:00
Rob Bast db4b8dd42b wordwrap at 80 2015-06-22 10:54:55 +02:00
Rob Bast 3ed4be072d split list into individual sections/paragraphs 2015-06-22 10:53:17 +02:00
Rob Bast 859522ffb7 moved some non-config sections back 2015-06-22 10:53:04 +02:00
Rob Bast 141f2b626f link from schema to config 2015-06-22 10:02:27 +02:00
Rob Bast 016cc7ee19 splitting up some docs, closes #4155 2015-06-22 10:00:04 +02:00
Thibault Jamet 460f2f438e Update documentation with new archive configuration 2015-06-17 20:53:09 +02:00
Jordi Boggiano a7ec17b2f1 Merge pull request #4062 from coderstephen/master
Docs: Fix non-feature-branches schema example not syntax highlighted
2015-06-11 18:02:57 +01:00
Jordi Boggiano 070007769a Merge pull request #4134 from craue/patch-1
[docs] mention the `memory_limit` actually being set
2015-06-11 17:32:56 +01:00
Jordi Boggiano 9debc39ba5 Update to caret operator 2015-06-11 15:02:59 +01:00
Christian Raue fe0c600d0f [docs] mention the `memory_limit` actually being set 2015-06-11 15:14:45 +02:00
nevvermind 12c833864c Revert converting `1.0.0` to `^1.0`. 2015-06-08 22:45:20 +01:00
nevvermind 1cba63cc0a fix typo + better express order of events
The fix here being more "occurs before a package has been uninstalled", which is incorrect.
2015-06-06 11:06:14 +01:00
nevvermind 5ba1dd67c0 Change wording 2015-06-03 12:21:54 +01:00
Jordi Boggiano 17c2a8019e Merge pull request #4089 from nevvermind/plugin-api-versions
Make plugins have actual constraints instead of fixed versions
2015-06-03 11:37:52 +01:00
nevvermind 00da5945ec Update docs 2015-06-02 19:09:57 +01:00
Jordi Boggiano 65dd1f7137 Update 00-intro.md 2015-06-02 14:47:52 +01:00
Jordi Boggiano ba8114dd49 Merge pull request #3258 from FraGoTe/master
Windows Installation Details this closes #3186
2015-06-02 14:47:13 +01:00
Jordi Boggiano e64470c987 Merge pull request #4071 from nevvermind/patch-2
Update 02-libraries.md
2015-05-28 15:52:12 +01:00
Rob Bast 95dbb6d9db add docs to support section in composer schema, closes #4055
Note that this does not yet add this attribute @ packagist though
2015-05-28 13:15:56 +02:00
nevvermind baf6ba06be Update 02-libraries.md
Small copy text fix.
2015-05-27 20:02:06 +01:00
coderstephen 8534d881f9 Fix non-feature-branches schema example not syntax highlighted 2015-05-24 16:02:58 -05:00
Olav Morken b0a7c2612d Fix link to Composer\Installer\InstallerInterface.
The link was pointing to Composer\Plugin\PluginInterface since
commit 98e5eab. Fix the link by updating the reference from
`[3]` to `[4]`.
2015-05-10 20:34:05 +02:00
Possum 2e99b9fdf5 Use https where possible 2015-05-04 19:37:57 +02:00
Jordi Boggiano d6620195e5 Prioritize repository over package versions in the default policy, fixes #3509 2015-04-30 10:43:04 +01: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
Fabien Schurter e392d1d039 Replace "an" with "a" in the docs 2015-04-28 14:42:17 +02:00
Steve Buzonas 7f8677d410 fixed tabs to spaces in doc 2015-04-18 21:17:19 -04:00
Steve Buzonas 20745f839c add documentation for preferred-install changes 2015-04-18 21:11:04 -04:00
Jordi Boggiano 6b3178b169 Merge remote-tracking branch 'isoroku/fix-misspellings'
Conflicts:
	doc/articles/handling-private-packages-with-satis.md
2015-04-15 02:21:44 +01:00
Jordi Boggiano 39c912005b Merge pull request #3869 from SchulteMarkus/patch-1
Explaining how to deal with cyclic dependency problems within Jenkins-bu...
2015-04-15 02:05:50 +01:00
Jordi Boggiano 1b3ca77bd5 Merge pull request #3878 from jakoch/patch-docu-httpheaderauth
added "example using a custom HTTP Header field" to docu, issue https://...
2015-04-15 01:59:55 +01:00
Jordi Boggiano 8a154d7300 Merge pull request #3891 from geo4orce/patch-1
Update 04-schema.md
2015-04-14 23:51:12 +01:00
Jordi Boggiano 87f3a0060e Merge pull request #3902 from TomasVotruba/patch-1
Readme: 00-intro - use __DIR__
2015-04-14 23:04:31 +01:00
Jordi Boggiano 31359510e5 Merge pull request #3936 from ajpevers/patch-1
Ignore all .git dirs in the vendor dir recursively
2015-04-14 23:01:56 +01:00
Jordi Boggiano 467f82fc15 Merge pull request #3935 from hannesvdvreken/patch-3
Link to semver version constraint tester
2015-04-14 23:01:25 +01:00
Anton Evers cc3a8379e2 Ignore all .git dirs in the vendor dir recursively
In accordance with http://git-scm.com/docs/gitignore
2015-04-14 09:46:53 +02:00
Hannes Van De Vreken 93f73ecc8c Link to semver version constraint tester 2015-04-14 09:21:48 +02:00
Richard K Miller 5b3457f812 Fix typo in aliases.md 2015-04-13 10:49:35 -06:00
Tomáš Votruba 0924318c17 Readme: 00-intro - use __DIR__
It is best practice to use `__DIR__` constant. Also it's used in `autoload.php` itself.
2015-04-02 02:22:46 +02:00
Geo 2070b95e27 Update 04-schema.md 2015-03-30 17:19:20 -04:00
jakoch cf7441bc27 added "example using a custom HTTP Header field" to docu, issue https://github.com/composer/composer/issues/3756 2015-03-27 19:01:16 +01:00
msiebeneicher 7522a33079 Merge branch 'master' of https://github.com/composer/composer into add_exclude
# By Jordi Boggiano (30) and others
# Via Jordi Boggiano (37) and Morgan Campbell (1)
* 'master' of https://github.com/composer/composer: (83 commits)
  Update 01-basic-usage.md
  Revert 331425bcb3 as well, fixes #3612
  Revert "Disable overwrites when no-ansi is present, fixes #3612"
  Update deps
  Use justinrainbow/json-schema 1.4
  Improved wording
  Fix docs basic-auth => http-basic
  Add test for Generics class
  Single variable for traits and enums
  Use HHVM_VERSION instead of HPHP_VERSION
  Add support for using classmap to autoload Hack enums
  Re-use existing autoloader suffix if available, fixes #3701
  Report Travis CI build success early
  Test on HHVM nightly releases. Allow to fail.
  Make parseJson safer
  Use get home from Config instead of factory
  Fix env override regression, fixes #3820
  [create-project] Used no progress value for dependencies
  Add docBlock and fix CS
  Fix output of first line of progress when output is not decorated, refs #3818
  ...
2015-03-25 16:27:23 +01:00
Morgan Campbell 7cb9b9a985 Update 01-basic-usage.md
Added a missing "the" so the sentence flows a little better.
2015-03-25 08:32:29 -05:00
Markus Schulte bcc387b297 Explaining how to deal with cyclic dependency problems within Jenkins-builds. 2015-03-24 09:44:13 +01:00
isoroku e0657b60a2 Fix misspellings 2015-03-20 14:23:24 +00:00
Sergey Gonimar c87418099c Fix docs basic-auth => http-basic 2015-03-13 14:25:55 +05:00
Jordi Boggiano 2a0da15eb5 Merge pull request #3227 from tobiastom/patch-1
Added some details about authentication handling.
2015-03-05 20:53:47 +00:00
Jordi Boggiano 26799f4244 Update script/plugin docs 2015-03-04 23:50:10 +00:00
Jérôme Tamarelle c1edfbb65c Add tests on GitLabDriver
Add an interactive prompt for gitlab token

Update doc for gitlab-domains

Add tests on GitLabDriver::supports

Update doc + CS

Optimize branch detection + fix typos

Fix test on GitLab support as it depends on SSL

Remove useless method + fix repository URL containing .git
2015-03-04 00:08:44 +01:00
Raphael Antonmattei 7b635f835d VCS section: add requirements for the branch name
If you want to use a custom branch in your requirements in your `composer.json`, that branch must be prefixed with "dev-" or you'll get an error:
```sh
[UnexpectedValueException]
  Could not parse version constraint some-branch: Invalid version string "some-branch".
```

It took me a while to find that info, so I figured I'd rather edit the doc.
Let me know.
2015-02-25 11:46:36 -05:00
Jordi Boggiano 01476214da Tweak satis/toran/packagist docs 2015-02-24 12:49:14 +00:00
Jordi Boggiano 5744981795 Merge pull request #3702 from alcohol/feature/list-scripts
Added --list to run-script command, closes #3671
2015-02-17 20:23:05 +00:00
msiebeneicher 636f93750c add "exclude-from-classmap" description to 04-schema.md 2015-02-17 15:56:34 +01:00
Felix Kiss 65f8d1c247 Update why-are-unbound-version-constraints-a-bad-idea.md
Minor text improvement
2015-02-17 02:46:15 +01:00
Jordi Boggiano 53925295c3 Merge pull request #3699 from trivago/non_feature_branches
added non-feature-branches
2015-02-14 15:44:45 +00:00
rkerner 38d546da45 * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
* fixed indentation and styling
2015-02-11 16:03:17 +01:00
rkerner 40b498c96e * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
* fixed indentation and styling
2015-02-11 16:01:41 +01:00
rkerner 86c7dfcd94 * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
* fixed indentation
2015-02-11 16:00:43 +01:00
rkerner 62636cdd64 * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
* fixed indentation
2015-02-11 15:59:26 +01:00
rkerner a8b8a2e143 * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
2015-02-11 15:57:33 +01:00
Kocsis Máté 63b3bc61b2 Added docs for bin-compat 2015-02-03 21:06:53 +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
Paul Dragoonis 2bd9cef799 Satis grammar fix. 2015-01-30 10:35:39 +00: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
Nils Adermann 2fbce61f6a Merge pull request #3675 from Shelob9/patch-1
Add note about /usr not existing in OSX Yosemite by default.
2015-01-29 16:53:39 +01:00
Josh Pollock 76a0e818b5 Improve notice about /usr/local/bin 2015-01-28 21:33:42 -05:00
Nils Adermann 0543a32d39 Merge pull request #3610 from bd808/feature/classmap-authoritative
Add classmap-authoritative config setting
2015-01-28 11:26:28 +01:00
findstar 82831bec13 I think 'dump-autoload' command is more proper. 2015-01-28 15:07:44 +09:00
Josh Pollock 59141c8663 Add note about /usr not existing in OSX Yosemite by default.
BTW Seriously Apple?
2015-01-25 17:05:21 -05:00
Jordi Boggiano f5de5a1268 Merge pull request #3652 from hallabro/documentation-versionparser
Update documententation for version shorthand parsing
2015-01-20 10:27:47 +00:00