1
0
Fork 0
Commit Graph

350 Commits (bb8387e5a0680769be7a1e4a37f5057dbe135b28)

Author SHA1 Message Date
Jordi Boggiano a63913c245
Merge pull request #8836 from kbacia7/master
close #8784, Added --locked option to composer show command. Displaying locked packages with --all option
2020-04-28 08:54:16 +02:00
Jordi Boggiano 6e7d7097e8
Add flag to docs 2020-04-28 08:53:23 +02:00
PirxDanford 3a7ea25289
Introduce --no-install option for the update, require and remove commands
Closes #8669, fixes #8551

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2020-04-23 14:55:07 +02:00
effulgentsia 46efcefefa
Added --json and --merge options to ConfigCommand (#8779) 2020-04-23 14:27:14 +02:00
Jordi Boggiano aa6be02c64
Allow COMPOSER_DISABLE_NETWORK to work with GitHubDriver by doing a cache priming pass first 2020-04-08 17:53:15 +02:00
Nils Adermann 392d0abd21 Rename test files and standardize on allow list rather than whitelist 2020-03-27 22:15:04 +01:00
Jordi Boggiano 94e6cfc521
Only show direct dependencies suggestions by default, add --all flag to see all in suggest command, fixes #8660 2020-03-10 15:09:28 +01:00
Jordi Boggiano bc002ae1fb
Merge branch 'master' into 2.0 2020-02-14 15:42:17 +01:00
Jordi Boggiano 77a477fb57
Add FundCommand 2020-02-14 14:08:38 +01:00
Jordi Boggiano 44d1e15294
Simplify suggester output when updating, refactor suggest command to reuse SuggestedPackagesReporter and make smarter defaults, fixes #6267 2020-02-13 16:13:29 +01:00
Jordi Boggiano 02433c3659
Merge pull request #8565 from glaubinix/t/create-project-add-repository
Create project: add option to add the repository to the composer.json
2020-02-11 13:47:34 +01:00
Jordi Boggiano be8dd528b8
Merge remote-tracking branch 'origin/master' into 2.0 2020-02-11 11:33:52 +01:00
Stephan Vock 2a564a9f36 Create project: add option to add the repository to the composer.json 2020-02-10 16:46:28 +00:00
Victor Bocharsky 3934877efe Wrap version constaints that contain * with double quotes
Some shells like ZSH require wrapping * with quotes, otherwise, it shows an error like:
> zsh: no matches found: 2.2.*
But single quotes may cause issues on Windows CMD
2020-02-08 10:16:59 +02:00
Jordi Boggiano d14d411fa4
Add --dry-run to require and remove commands, fixes #7793 2020-01-31 14:34:10 +01:00
Jordi Boggiano f6b3f12107
Merge branch 'master' into 2.0 2019-12-07 21:10:14 +01:00
gary houbre ff3eda6d40 Added Documentation from new alias 2019-12-04 11:41:39 +01:00
Jordi Boggiano 88b051c96b
Merge branch 'master' into 2.0
Update deps
2019-11-23 12:27:41 +01:00
Andreas Möller f4ff91da6c
Fix: Add environment variables related to Xdebug to documentation 2019-11-03 14:27:22 +01:00
Jordi Boggiano 6c4357a7ed
Merge branch 'master' into 2.0 2019-07-31 17:50:01 +02:00
Jordi Boggiano 45591597f6
Clarify how check-platform-reqs works, fixes #8191 2019-07-29 16:38:01 +02:00
Nils Adermann d2fa1e1319 Merge branch 'master' into 2.0
* master: (48 commits)
  SVN: hide passwords for debug output
  Free $solver asap
  fixes #8179
  [minor] Fixed a typo in the CHANGELOG.md.
  Update deps
  Update changelog
  Revert "Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET" Revert "Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151"
  Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151
  Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138
  Read classmap-authoritative and apcu-autoloader from project config when installing via create-project, fixes #8155
  Use possessive quantifiers
  Update xdebug-handler to 1.3.3
  fixes #8159
  Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET
  flag should come before script name
  use full command name, not abbreviated/alias
  modify text
  Document the alternatives to disable the default script timeout
  Anchor pattern
  Fix URL resolution for Composer repositories
  ...
2019-06-27 14:08:00 +02:00
Jordi Boggiano 79a300eaac
Merge branch '1.8' 2019-06-07 16:58:37 +02:00
Jordi Boggiano e7eecc6901
Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151 2019-06-07 16:55:23 +02:00
Nils Adermann 287419f6a0 Merge branch 'master' into 2.0
* master:
  Follow up to #7946 test: add solver flag to assert path execution
  Fix tests
  Make sure config command output is also output on --quiet so that warnings can be hidden, fixes #7963
  Recognize composer-plugin-api as a platform package, fixes #7951
  Quote wildcards to avoid issues in some shells, fixes #7960
  Avoid dumping null values for dist reference/shasum and source reference, fixes #7955
  Soften hard exit after revert of composer file
  Make unixy proxy code POSIX compatible
  Update aliases.md
  Same but for Problem.php
  Better error message for present but incompatible versions
  Fix inconsistent casing
  Don't do (new Foo())->bar() - not 5.3-compatible
  Support identifying the HHVM version when not running with HHVM
2019-02-10 20:28:24 +01:00
Jordi Boggiano ff246e3e85 Merge branch '1.8' 2019-02-10 12:59:38 +01:00
Jordi Boggiano 4de1f021f5 Quote wildcards to avoid issues in some shells, fixes #7960 2019-02-10 12:40:11 +01:00
Jordi Boggiano b89720b52a Merge branch 'master' into 2.0 2019-01-28 18:00:52 +01:00
Jordi Boggiano f1297b11bc Merge branch '1.8' 2019-01-28 16:56:40 +01:00
Jordi Boggiano abcde19022 Document --no-check-all better, fixes #7889 2019-01-28 16:17:46 +01:00
Jordi Boggiano 02ceb74151 Tweak --no-cache option to be available globally and to not break VCS drivers relying on it, refs #7880, refs #6650 2019-01-28 15:29:37 +01:00
Jordi Boggiano 0b928b2a42 Merge branch 'master' into 2.0 2019-01-28 14:33:10 +01:00
Jordi Boggiano fc03ab9bba Add COMPOSER_DISABLE_NETWORK env var for debugging 2019-01-14 17:29:24 +01:00
Andreas Möller 618122f897
Fix: Keep environment variables sorted by name 2018-12-24 10:45:06 +01:00
Jordi Boggiano 2528654c53 Merge branch '1.7' 2018-10-31 18:13:39 +01:00
Alexey Pyltsyn ed3aa1870c Replace OSX with macOS 2018-09-27 14:00:10 +03:00
Christophe Coevoet 0ca5c6342d
Fix the doc markup
In *nix, the star needs to be part of the content, not of the markdown markup, and so it requires escaping.
2018-09-26 15:12:25 +02:00
refael iliaguyev 2f347e1347 add alias `u` to the update command 2018-07-19 11:38:43 +03:00
refael iliaguyev b63e2de819 add alias `i` to the install command 2018-07-11 20:37:34 +03:00
Jordi Boggiano d694687b86
Merge pull request #7128 from rogeriopradoj/patch-1
Add option "no-secure-http" for create-project
2018-03-29 23:11:00 +02:00
Sven Luijten 8f65518ed3 Avoid using 'just' in documentation 2018-03-23 11:37:33 +01:00
Rogerio Prado de Jesus 7676a5e4ec
Add option "no-secure-http" for create-project
Refers to #5121, commit f13e0f975f
2018-02-21 18:09:43 -03:00
Jordi Boggiano 1f3c52d3af Doc tweak 2018-01-31 16:23:01 +01:00
Jordi Boggiano 882b82d542 Add COMPOSER_MEMORY_LIMIT env var to force a given memory_limit, fixes #6931 2018-01-04 10:49:41 +01:00
Gabriel Caruso 486e580db2 Clean up documentation 2017-12-30 18:11:52 -02:00
Martin Hujer 9bb4cce0b8 Fixes typos in docs 2017-12-29 13:29:13 +01:00
Martin Hujer 58a62dceab Change http to https where possible 2017-12-29 11:37:59 +01:00
Jordi Boggiano 8bc02d1aed
Merge pull request #6904 from brettsantore/doc-update
clarify optionality of package in require command
2017-12-17 15:02:18 +01:00
Jordi Boggiano 525e6cddaa
Add check-platform-reqs to docs 2017-12-16 22:04:48 +01:00
Jordi Boggiano 5f382e1e63
Merge pull request #6899 from kohkimakimoto/update-doc
update doc
2017-12-16 21:59:54 +01:00
Brett Santore 449ecf098d clarify optionality of package in require command 2017-12-14 11:44:54 -05:00
Kohki Makimoto afa0b14389 update doc 2017-12-13 11:58:42 +09:00
Saul Wilcox bb97383772
Add 'remove' to example global commands
Common and useful enough to be explicitly stated in docs
2017-11-15 10:06:24 +00:00
Jordi Boggiano 308cf07973
Merge pull request #6781 from cafferata/patch-1
Update 03-cli.md
2017-11-03 19:59:19 +01:00
Jordi Boggiano 4ab34c22fa
Merge pull request #6740 from croensch/master
also support NO_PROXY
2017-11-03 19:50:28 +01:00
Jordi Boggiano 9df22654c3 Merge remote-tracking branch 'grasmash/issue-6661-whitelist-all-deps' 2017-11-03 14:20:38 +01:00
Jeffrey Cafferata b36622d316
Update 03-cli.md
Package `fabpot/php-cs-fixer` is, so I replaced it with `friendsofphp/php-cs-fixer`.
2017-11-03 11:49:42 +01:00
croensch 6da92e98ac also support NO_PROXY
since WINDOWS can only have one case and that is usually upperase
2017-10-12 16:35:05 +02:00
Matthew Grasmick 2e9e7ddd99 Updating docs. 2017-09-11 12:43:32 -04:00
Jordi Boggiano 92458596ea Merge branch '1.5' 2017-09-11 16:23:25 +02:00
Jordi Boggiano 69ecb2403e Add upgrade alias to update, fixes #6649 2017-09-11 16:13:33 +02:00
Victor Isadov 4a4bd4a6a2 Note for short names 2017-08-16 16:14:29 +03:00
Victor Isadov 884a605bbe Update 03-cli.md 2017-08-16 16:11:41 +03:00
Victor Isadov 7968016d26 Update 03-cli.md 2017-08-16 16:11:04 +03:00
Victor Isadov 4c165f9718 Update 03-cli.md 2017-08-16 16:08:05 +03:00
Jordi Boggiano 69282de829 Fix env var docs 2017-06-17 15:38:05 +02:00
Wil Hall 9e2cd9e717 Word wrap htaccess-protect option documentation 2017-06-16 08:26:43 -04:00
Wil Hall 6b806d3afd Add cli documentation for COMPOSER_HTACCESS_PROTECT env variable 2017-06-15 11:53:13 -04:00
Fabien Bourigault df85bc3ac3 update cli documentation 2017-03-27 16:52:50 +02:00
Jordi Boggiano a286c39f20 Add docs about new --format, refs #6228 2017-03-07 14:19:51 +01:00
Jordi Boggiano 9042147674 Merge pull request #5931 from Jean85/patch-1
[Documentation] Update troubleshooting article
2016-12-24 01:08:39 +01:00
Alessandro Lai 7b966f9355 Remove reference to COMPOSER_IGNORE_XDEBUG_WARN 2016-12-06 17:48:23 +01:00
Nicolas Grekas 6d4e60b991 Add --apcu-autoloader option to enable APCu caching of found/not-found classes 2016-12-06 11:21:44 +01:00
Rens Admiraal a294af3f16 Allow setting default transport strategy for path repositories
This change allows setting COMPOSER_MIRROR_PATH_REPOS to 1
in the environment to set the default strategy to 'mirror'.

This allows using 'mirror' during deployments while still symlinking
on a development machine. The default is still overwritten by the
options on the repository configuration.
2016-09-25 19:56:12 +02:00
Jordi Boggiano f3af3ede40 Merge pull request #5552 from fvdb/add-minor-only-option
Added minor-only option to show command to only show packages with minor updates
2016-08-29 19:38:18 +02:00
Frank van den Brink d5dbe5743a
Fixed typo in --minor-only option documentation 2016-08-26 11:14:08 +02:00
Frank van den Brink 12cee0b927
Added --minor-only option to documentation 2016-08-26 11:12:27 +02:00
Jesse Donat 9f7ea6e2dc Updates docs 2016-08-18 15:09:16 -05:00
José Carlos Chávez c28fe2b507 Adds --no-suggestion flag to the documentation for the install and update commands. 2016-08-16 11:18:19 +02:00
Jordi Boggiano 3455380413 Patch Httpoxy vulnerability 2016-07-19 00:57:41 +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
Mathias Brodala d9909993b2 Add --prefer-stable and --prefer-lowest to "require" command
Fixes #5314
2016-05-11 17:45:41 +01: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 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 21a9f21cc8 Add package filtering in show command, fixes #5212, closes #5215 2016-04-19 11:31:41 +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 2c9326bacb Merge remote-tracking branch 'wenkepaul/master' 2016-04-01 00:59:11 +01:00
Andrew Marcinkevičius bddf0d4f46 Fix typo 2016-03-24 18:30:23 +02:00
Paul Wenke d2c5479b2d Updated documentation and fixed formatting in Bitbucket Util. 2016-03-06 22:20:22 -05: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
Jordi Boggiano 44cfad36b7 Merge remote-tracking branch 'curry684/sort-suggestions' 2016-02-25 18:47:19 +00:00
Jordi Boggiano 04a1085d47 Rename new flag to --root-reqs, refs #4938 2016-02-25 14:39:50 +00:00
Jordi Boggiano 35d26db704 Add docs for exec command, refs #4887 2016-02-25 12:21:30 +00:00
Jordi Boggiano f681dbc51e Merge remote-tracking branch 'curry684/rewrite-depends' 2016-02-24 17:42:11 +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
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
Bilal Amarni 8b4761ff14 [doc] add -H flag to sudo commands 2016-02-03 15:46:15 +01: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
Bilal Amarni e727f9f5fe [Config command] allow to pass options when adding a repo 2016-01-25 19:25:10 +01: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
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
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
Jordi Boggiano bb2e29ba28 Add warning about --tree 2015-11-27 10:56:32 +00:00
Jérémy Romey 36271a7dd1 Added a tree view of required packages 2015-11-26 11:06:09 +01:00
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