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
gnito-org
239638e687
Fix minor spelling & grammar issues in docs ( #10370 )
2021-12-19 15:15:21 +01:00
Jordi Boggiano
d274bf0313
Fix PHP x spacing
2021-12-19 12:38:45 +01:00
Jordi Boggiano
cc32ebcabd
Search improvements ( #10336 )
...
* Search performance improvements, add SEARCH_VENDOR type, fixes #10326 , fixes #10324 , fixes #10325
* Add extra optimization path for autocompletion of ^foo/* whereas the vendor is fully known, refs #10320
2021-12-08 11:45:18 +01:00
Jordi Boggiano
a4a89f1508
Update archive format docs, refs #10087
2021-12-07 15:56:35 +01:00
Henk Poley
74951b5377
Document archive --format=tar.gz ( #10087 )
2021-12-07 15:53:07 +01:00
Jordi Boggiano
e30a6b0b9b
Add support for ignoring the upper bound of platform requirements using "name+" notation
2021-12-07 13:24:08 +01:00
Nils Adermann
09ffabbf6e
Merge branch '2.1' into main
...
* 2.1:
Fixed documentation for cache-dir location in case of xdg
2021-12-07 11:21:43 +01:00
Alex Plekhanov
2474d6f526
Fixed documentation for cache-dir location in case of xdg
2021-12-07 01:54:03 +01:00
Yehuda Katz
ebf4cbdc69
Add COMPOSER_NO_DEV environment variable to set the --no-dev flag ( #10262 )
2021-11-24 11:32:19 +01:00
Rafael Dohms
78583ab678
Support ignore-platform-reqs in `composer outdated` ( #10293 )
...
This allows users to also find libraries that require major platform
changes to unlock updates.
It addresses #10291 .
2021-11-23 17:16:58 +01:00
Martin Herndl
7eca450d9b
Add wildcard support to ignore-platform-req, fixes #10045 ( #10083 )
2021-11-11 15:56:38 +01:00
Stephan
44c5b6cde6
Config: add source option for command to show where a config value is loaded from ( #10129 )
2021-11-11 15:17:58 +01:00
Wouter de Jong
bb128c465c
Capitalize Composer in the docs
2021-10-25 13:11:56 +02:00
Wouter de Jong
6aec6ecbfa
Use `composer.phar` consistently in the examples
2021-10-25 13:11:41 +02:00
immeëmosol
bced747ed3
Note that CMPSR_HM/config.json is partially merged ( #10152 )
2021-10-13 22:45:15 +02:00
Jordi Boggiano
6e851edd70
Add `--dev` to `dump-autoload` command to allow force-dumping dev autoload rules even if dev requirements are not present, fixes #9946
2021-06-07 15:48:37 +02:00
Nils Adermann
1dc39bda75
Merge pull request #9915 from Seldaek/reinstall
...
Add a reinstall command
2021-05-31 17:22:32 +02:00
Jordi Boggiano
387e504437
Undeprecated dump-autoload --no-dev even though it is mostly not needed anymore, refs #9714
2021-05-25 22:39:55 +02:00
Jordi Boggiano
500efbe233
Add a reinstall command, fixes #3112
2021-05-25 22:30:15 +02:00
Andreas Scheibel
bb1bb022e4
"composer init --autoload" - Interactive generates PSR-4 autoloader in composer.json ( #9829 )
...
- Generates PSR-4 autoload entry in composer.json.
- Run dump-autoload, if no dependencies are set
2021-04-20 21:58:38 +02:00
Jordi Boggiano
f13282e555
Change default preferred-install to dist, add --prefer-install=auto|dist|source to allow specifying auto ( #9603 )
...
Fixes #9546
Fixes #9674
2021-04-07 16:04:42 +02:00
Jordi Boggiano
dca8bd7197
Merge branch '2.0'
2021-04-01 10:15:10 +02:00
Jordi Boggiano
53a974f9c9
Tweak virtualbox detection and improve it by detecting vbox additions, refs #9627
2021-04-01 09:48:07 +02:00
ochorocho
35210d99a9
Add --format json to search command ( #9747 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2021-03-09 23:06:02 +01:00
ochorocho
8f315551d4
Remove output "summary" from fund command. Fund does not provide this type of format. ( #9748 )
2021-03-09 21:49:54 +01:00
Jordi Boggiano
ed1fe28ab2
Add --format to fund command docs
2021-02-25 16:54:26 +01:00
Jordi Boggiano
d0aac44ed2
Auto-detect dev-mode in autoload-dump and deprecate dump-autoload --no-dev ( #9714 )
2021-02-24 21:17:05 +01:00
Jordi Boggiano
40095b20dc
Allow tweaking the max parallel http requests via env var, fixes #9671
2021-02-10 14:34:59 +01:00
Jordi Boggiano
738a89ffe1
Doc tweaks, fixes composer/getcomposer.org#178
2021-01-12 16:19:29 +01:00
Paul DelRe
360ecb45b7
Update `self-update` options
2020-11-04 10:35:20 -05:00
Jordi Boggiano
5d4bcde454
Allow using --locked with the outdated command directly, fixes #8025
2020-10-26 14:47:52 +01:00
Lucas Werkmeister
adf27d61e9
Document availability of self-update command
...
The self-update command is only available when running as a PHAR (see
commit 761ad6d171
); notably, it is not defined in the Ubuntu package.
2020-10-26 13:03:24 +01:00
Dan Wallis
4c424ac32d
Use quotes instead of escaping special characters
2020-10-24 14:37:35 +01:00
Dan Wallis
a3f9d300f3
Escape special characters in Markdown files
2020-10-24 11:53:20 +01:00
Jordi Boggiano
0d236858ec
Merge branch '1.10'
2020-10-24 09:59:46 +02:00
Nils Adermann
b12b50c679
Docs: Remove unnecessary uses of simple/easy
...
They only serve to make anyone reading the docs who doesn't find
something as simple or easy as stated feel bad about themselves, they
don't add anything valuable to the docs in these cases.
2020-10-23 21:52:05 +02:00
Frank Prins
2c8cbebd85
Update authentication methods in documentation
2020-10-13 23:30:47 +02:00
Jordi Boggiano
3c25d180e6
Add detailed notes about events in upgrade guide, add COMPOSER_DEBUG_EVENTS env var for debugging events
2020-10-13 12:08:42 +02:00