Jordi Boggiano
c8bd0e6278
Add --patch-only flag to update command to restrict updates to patch versions and make them safer ( #12122 )
...
Fixes #11446
2024-09-21 13:54:03 +02:00
Jordi Boggiano
a03331bd21
Add --strict-ambiguous to dump-autoload command ( #12119 )
...
Fixes #6221
2024-09-19 11:40:57 +02:00
Carlos Granados
c8838f198e
Add option to run bump after update ( #11942 )
...
* Add option to run bump after update
* Convert the option into a bool | string parameter and change a couple of texts
* Apply suggestions from code review
* Fix tests
---------
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-09-18 15:34:25 +02:00
Mohamed Hubail
21bf74d2c7
Add `--abandoned` option ( #12091 )
...
* Add `--abandoned` option
* Refactoring
- Use `Auditor::ABANDONEDS` in `Config.php`
- Drop `getAuditAbandoned()` from `BaseCommand.php`
* Modify cli docs
2024-09-17 15:44:55 +02:00
Jordi Boggiano
f9e6214bd9
Fix completion docs, fixes #12099
2024-09-17 11:07:27 +02:00
Jordi Boggiano
877f1b150f
Add new uninstall alias to docs
2024-04-29 11:03:27 +02:00
John Stevenson
70927f728e
Add FAQ about using a proxy ( #11933 )
2024-04-19 17:27:54 +02:00
Jordi Boggiano
7442981364
Add flag alias to docs
2024-02-08 11:31:44 +01:00
Dezső BICZÓ
7cb92a90c8
Introduce COMPOSER_AUDIT_ABANDONED env var ( #11794 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-02-07 22:13:36 +01:00
Jordi Boggiano
e88c7a8987
Add support for wildcards in outdated's --ignore arg, fixes #11831
2024-02-06 17:17:25 +01:00
Jordi Boggiano
bff129f4f5
Update require docs, fixes #11823
2024-02-06 13:27:55 +01:00
Jordi Boggiano
3491986ad3
Add IPv4 fallback on connection timeout, and adds COMPOSER_IPRESOLVE env var ( #11791 )
...
* Add IPv4 fallback on connection timeout, and adds COMPOSER_IPRESOLVE env var, fixes #530
* Address feedback
* Add warning in diagnose command when COMPOSER_IPRESOLVE is set
2024-01-11 17:13:54 +01:00
Jordi Boggiano
ca433076b1
Sync up docs from command, fixes #11787
2024-01-10 10:26:03 +01:00
Sam L
44f02a5c86
Add COMPOSER_FUND=0 env var to disable calls for funding ( #11779 )
2024-01-08 15:10:49 +01:00
Jordi Boggiano
53a1f32061
Add --sort-by-age to show/outdated commands, and also release date for latest package in --latest mode ( #11762 )
2023-12-20 15:37:27 +01:00
Jordi Boggiano
899dcedf66
Add --minimal-changes mode to perform partial updates --with-dependencies while changing only what is necessary in other dependencies ( #11665 )
2023-10-26 10:25:04 +02:00
Fábio
25f4854ad7
Fix typo 03-cli.md ( #11587 )
2023-08-30 18:03:12 +02:00
Michael Voříšek
f752a9e358
Unify wording in docs ( #11545 )
2023-07-21 14:47:54 +02:00
Luke Stewart
9555ae13a6
Clarifies COMPOSER_NO_DEV documentation. ( #11447 )
...
COMPOSER_NO_DEV applies to composer require as well.
2023-05-02 22:44:29 +02:00
Alexander Dmitryuk
d1ab1255b5
Add rm alias to composer remove command ( #11367 )
...
* rm alias
* review
2023-03-10 22:27:20 +01:00
PrinsFrank
7290f5b437
Document recovering from invalid merges on composer.lock and composer.json ( #11154 )
2022-12-21 10:16:02 +01:00
Gaëtan Faugère
52f91b2dd9
Add test and documentation regarding audit command when no packages are required ( #11092 )
2022-10-13 10:53:26 +02:00
Jellyfrog
8ed7c46179
Add download-only mode ( #11041 )
...
composer install --download-only to prime the cache/download archives but not do any actual of the actual installing
Fixes #11035
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-10-12 13:56:35 +02:00
Jordi Boggiano
7df744531b
Merge branch '2.4'
2022-10-12 11:27:30 +02:00
Kuba Werłos
f8435b6d10
Unify command names in the docs ( #11071 )
2022-10-12 10:55:57 +02:00
Jordi Boggiano
436a112651
Clarify temporary constraint usages and throw if an unresolvable constraint is provided
2022-10-11 13:34:45 +02:00
Kuba Werłos
e870206c4a
Add "--dry-run" to bump command ( #11047 )
2022-09-19 08:45:49 +02:00
Jeffrey Cafferata
ceec6ff8e2
Documentation code syntax highlighting ( #11011 )
...
* Add newline at end of file.
* Create a uniformat in the code syntax highlighting by using the main syntax `shell` instead of the alias `bash`/`sh`.
* Added (of corrected) the missing code syntax highlighting.
* Split the shell commands from the text outputs.
* Fix JSON samples formatting.
* Checked the commands and updated the text output.
2022-08-20 12:23:00 +02:00
Jeffrey Cafferata
9b6d27f810
Environment variable for `--no-audit`. ( #10998 )
...
Fixes #10997
2022-08-17 11:44:18 +02:00
Jellyfrog
058beef20a
CheckPlatformReqs: Add json format output ( #10979 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-08-16 14:19:53 +02:00
Jordi Boggiano
41a13fa0a1
Merge branch '2.2'
2022-08-16 11:50:56 +02:00
Christopher Charbonneau Wells
2152b20a94
Correct prohibits/why-not example command ( #10994 )
...
Running the example command `composer prohibits php:8` returns an error, "Not enough arguments (missing: "version")."
2022-08-16 11:45:35 +02:00
chx
2fd4275e62
Update 03-cli.md ( #10995 )
...
Crosslink COMPOSER_NO_DEV
2022-08-16 11:28:46 +02:00
Barry vd. Heuvel
a3f7c31ea7
Add json format to Audit command ( #10965 )
2022-07-25 13:13:32 +02:00
Michael Telgmann
4aa3258d19
Improve documentation about the new bash completion feature ( #10962 )
2022-07-22 10:16:22 +02:00
Jordi Boggiano
e43cae6231
Add COMPOSER_PREFER_STABLE and COMPOSER_PREFER_LOWEST env vars, fixes #10919
2022-07-20 22:29:27 +02:00
Joel Pittet
4182223762
Remove -p from --patch-only, --platform took it ( #10956 )
2022-07-20 21:06:14 +02:00
Alexander Dmitryuk
8c488b9b08
Add "r" alias for require ( #10953 )
...
Co-authored-by: a.dmitryuk <a.dmitryuk@movavi.com>
2022-07-18 13:04:49 +02:00
Jordi Boggiano
0196690ab3
Disable automatic audit at the end of install step to keep things fast, switch --no-audit to an opt-in --audit flag
2022-06-24 16:54:30 +02:00
Nils Adermann
92ff8e5bc6
Audit command doc improvements ( #10893 )
2022-06-23 12:59:45 +02:00
Guy Sartorelli
d93239ddd9
Add audit command to check for security issues ( #10798 )
...
Closes #10329
2022-06-22 15:15:01 +02:00
Jordi Boggiano
e8530699c3
Add --strict-psr flag to dump-autoload to fail the process if psr violations were detected, fixes #10241 ( #10886 )
2022-06-20 13:57:20 +02:00
Jordi Boggiano
6186d0c1d5
Add --gc flag to cache-cache command and ability to GC vcs/repo caches, fixes #7834 ( #10826 )
2022-06-09 11:46:00 +02:00
Jordi Boggiano
0fd845eeaf
Add --major-only flag to outdated/show commands to restrict the list to packages with major updates available, fixes #10439 ( #10827 )
2022-06-09 11:45:32 +02:00
Jordi Boggiano
70f2dd6edd
Add bump command to bump requirements to the currently installed version, fixes #7273 ( #10829 )
2022-06-09 11:43:59 +02:00
Jordi Boggiano
d99e059aa3
Add bash completions to docs
2022-05-13 13:58:02 +02:00
Carlos Buenosvinos
bc1fd3c8b7
Move navigation arrows to the bottom ( #10769 )
...
Probably by merging other PR the arrows were not at the bottom.
2022-05-12 10:24:53 +02:00
Yehuda Katz
c3a41b944e
Allow global ignore-platform-req ( #10616 )
2022-03-15 15:29:25 +01:00
Houssem Zitoun
3ae111140f
Improve documentation ( #10477 )
...
Co-authored-by: Houssem ZITOUN <houssem.zitoun@ekino.com>
2022-01-21 17:39:57 +01:00
Jordi Boggiano
8f1b3d21db
Add --no-scripts to all commands and disable plugins/scripts when running self-update ( #10371 )
...
* Add --no-scripts as global parameter available to all commands, and handle it by default when creating a Composer instance from Command::getComposer
* Disable scripts/plugins for self-update command, fixes #10351
2021-12-20 14:23:35 +01:00