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
Jordi Boggiano
e537ae953e
Add apcu prefix flag to docs, refs #9212
2020-10-13 10:22:46 +02:00
Jordi Boggiano
9c4b00be67
Add -w/-W to docs, refs #9257
2020-10-12 10:36:12 +02:00
Samuel Ryan
a66db48673
✨ Ask for target directory when using `create-project`
2020-09-03 17:40:09 +01:00
Jordi Boggiano
a2ab6f2b54
Add support for multiple --repository additions in create-project, and make --add-repository delete the lock file, fixes #8853
2020-07-17 10:38:46 +02:00
Jordi Boggiano
37b1e0fffd
Merge pull request #8955 from tlamy/OutdatedNoDevOption
...
Outdated/Show: no dev option
2020-07-16 15:40:09 +02:00
Ayesh Karunaratne
6e3efabbfc
Multiple grammar fixes in markdown files
2020-07-01 02:43:13 +07:00
Thomas Lamy
23cae5939c
#8945 Add "--no-dev" to outdated/show commands docs
2020-06-17 13:15:11 +02:00
Jonas Drieghe
8da2811dc3
Add new summary format for licenses ( #8973 )
...
* Add new summary format to render the number of dependencies for each used license
* Array dereferencing wasn't available on php 5.3
* Add summary format to documentation
2020-06-16 10:07:53 +02:00
Graham Campbell
fa799970ad
Replace whitelist with allow list
2020-06-07 22:15:09 +01:00