416 Commits (main)

Author SHA1 Message Date
Stephan 78d5050832
Docs: clarify caret contraint with ^0.0.x constraint (#10728) 2 years ago
Jordi Boggiano aad2f86edf
Merge branch '2.2' into main 2 years ago
Jordi Boggiano 6b97524b25
Load plugins which modify install path early, fixes #10618 (#10621) 2 years ago
Jordi Boggiano 5122bd42fb
Merge branch '2.2' into main 2 years ago
Jordi Boggiano bf235eba56
Add note about plugin autoloading, refs #10587 2 years ago
Jordi Boggiano 868b75d5e8
Fix broken links, refs #10542 2 years ago
Jordi Boggiano 40de07569d
Merge branch '2.2' into main 2 years ago
Jordi Boggiano acea849c51
Clarify plugin docs slightly wrt pre-operations-exec event 2 years ago
Jordi Boggiano 5c98a2cf8e
Add phpstan-symfony to get type info about console InputInterface, fix many errors (#10476)
Extract common init/require commands functionality into PackageDiscoveryTrait
Extract some helper methods into BaseCommand for better types
2 years ago
Jordi Boggiano ac8fb8cc57
Merge branch '2.2' into main 2 years ago
Jordi Boggiano 4f2e2ec4fc
Update docs for renamed COMPOSER_RUNTIME_BIN_DIR 2 years ago
Jonas Drieghe b9c368a9c3
Use new url for semver testing tool (#10449)
semver.mwl.be returns a permanent redirect to semver.madewithlove.com
2 years ago
Jordi Boggiano f7ce907148
Update plugin-api in docs 2 years ago
Nico Haase 8486b38fef
Update plugins.md API version (#10427)
Fixing the API version, as changed in 1b5b5c48bf
2 years ago
Jordi Boggiano a8ed352b31
Add docs for the new bin-dir access and bump runtime-api, refs #10402 2 years ago
gnito-org 239638e687
Fix minor spelling & grammar issues in docs (#10370) 2 years ago
Helmut Hummel ace8a1776c
Add composer platform package with exact Composer version (#10313)
Co-authored-by: Lars Strojny <lars.strojny@internations.org>
Co-authored-by: Nils Adermann <naderman@naderman.de>
3 years ago
Helmut Hummel f12a5b8214
Expose path to autoload in a global var for binaries (#10137)
Always create proxy files for package binaries,
to avoid not working binaries in case the package
was installed from a path repository and is itself linked

If the binary is a PHP script, a global variable is now exposed,
which holds the path to the vendor/autoload.php file.
This variable can the be used in the binaries to include this file
without guessing where the path to the vendor folder might be.

Additionally it is now checked on binary creation whether
the reference binary has a shebang and if not, generates
a much simple proxy code, because the stream wrapper code,
that is required for PHP <8 to omit the shebang from the output,
can be skipped.

Fixes: #10119

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
Bruno Baguette 0f5f0fb9e1
(Probable) typo fix (#10286)
Isn't "to" missing before "raise awareness" ?
3 years ago
Yanick Witschi 34183f49f9
Implemented PoolOptimizer 3 years ago
Jordi Boggiano 8542321a31
Updates to the troubleshooting docs, refs #10129 3 years ago
Matthias Pigulla abf832aa49
Update what GitHub token scope is needed and what it implies (#10257)
Follows up on https://github.com/composer/composer/pull/10256.
3 years ago
Jordi Boggiano c65d09dff7
Fix @inheritDoc annotations 3 years ago
Wouter de Jong bb128c465c Capitalize Composer in the docs 3 years ago
Wouter de Jong 6aec6ecbfa Use `composer.phar` consistently in the examples 3 years ago
Jordi Boggiano 0868245589
Rename master branch to main 3 years ago
Rodrigo 131d6ade5d
Add alternative to custom installers (#10149)
Taken from composer/installers readme
3 years ago
Ian Dunn b78570055d
Docs: Place general troubleshooting steps in a more logical order
* `self-update` should be run first, because it may affect the results of `diagnose`. 
* `clear-cache` should be run before `update`, otherwise `update` would need to be run again after clearing the cache.
3 years ago
Jordi Boggiano a72784c4da
Merge pull request #10057 from nicholsonjf/docs-double-pipe-note
Note in docs about how single pipes are treated
3 years ago
小克 d9a94b376a
Update the Composer plugin API version to 2.1.0 3 years ago
James Nicholson 2d79f3381b Single pipe note 3 years ago
Jordi Boggiano cbef7b9172
Detect and output a better hint for dependencies on the root package, fixes #9837 3 years ago
timrizzi 6b7f795956
Link to GitLab documentation for auth (#9833)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
Jordi Boggiano 6587715d0f
Merge branch '2.0' 3 years ago
Jordi Boggiano 1fd70de32d
Merge branch '2.0' 3 years ago
Jordi Boggiano 9ed241c809
Use jsonc highlighting 3 years ago
Jordi Boggiano 53a4725dbe
Fix source links, fixes #9836 3 years ago
Jordi Boggiano d0aac44ed2
Auto-detect dev-mode in autoload-dump and deprecate dump-autoload --no-dev (#9714) 3 years ago
sink 66ec8b3d92
docs: fix bad URL 3 years ago
Jordi Boggiano b8f9550a2e
Update doc/articles/versions.md 3 years ago
Stephan Vock bb393588ea Docs: explain how Composer gets the stability from a version 3 years ago
Jordi Boggiano 738a89ffe1
Doc tweaks, fixes composer/getcomposer.org#178 3 years ago
Brad Jones 4b2df65833
Clarify difference in create-project related scripts
I wasn't entirely clear the difference between post-root-package-install and post-create-project-cmd, so this is an effort to clarify (as to the best of my understanding.)
4 years ago
Jan Slabon 27339aeaf8
Update authentication-for-private-packages.md
Added some information about encoding of username and password for "Inline http-basic" authentication.
4 years ago
PrinsFrank 3d5be62250
Add article on resolving merge conflicts (#9386) 4 years ago
Karsten Dambekalns 3518dba00f
Mention no-slash requirement for getInstallPath() 4 years ago
Christophe Coevoet 8ee3e106d8
Fix the current plugin api version in the doc 4 years ago
Nils Adermann 8627f1cce6
Clear up plugin doc for modifying downloads 4 years ago
Jordi Boggiano 3dfbd9e9e9
Add plugin-modifies-downloads to docs, refs #9339 4 years ago
schramm-michael 996eb563c0
Update authentication-for-private-packages.md
Typo on line 278
changed cosumer... to consumer-key
4 years ago