Tizian Schmidlin
4f789a5f6d
Add "use-parent-dir" config to configure prompt when no composer.json is present in current dir ( #10307 )
...
Fixes #10299
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
Jordi Boggiano
5d218287d9
Doc clarification
3 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
Jordi Boggiano
91548d178b
Add support for setting platform packages to false to disable them ( #10308 )
...
Fixes #9664
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
Yehuda Katz
ebf4cbdc69
Add COMPOSER_NO_DEV environment variable to set the --no-dev flag ( #10262 )
3 years ago
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 .
3 years ago
Jordi Boggiano
807c677865
Improve some linking
3 years ago
Martin Herndl
8386264c98
Fix spelling of Bitbucket ( #10290 )
3 years ago
Stephan
5297f72e3f
Docs: add transport options example and differentiate between cURL and stream options ( #10289 )
...
+ remove Bitbucket mercurial reference
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
Martin Herndl
7eca450d9b
Add wildcard support to ignore-platform-req, fixes #10045 ( #10083 )
3 years ago
Jordi Boggiano
8542321a31
Updates to the troubleshooting docs, refs #10129
3 years ago
Stephan
44c5b6cde6
Config: add source option for command to show where a config value is loaded from ( #10129 )
3 years ago
Raphael de Almeida
150acc5559
Removed HgBitbucketDriver support ( #10248 )
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
jakobvibe
15934a083c
Added link to composer-allow-superuser ( #10215 )
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
Markus Staab
c9b80bc3b6
Fix reference to main [ci skip] ( #10174 )
3 years ago
Markus Staab
b8e2fcd33d
Fix reference to main branch ( #10173 )
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
immeëmosol
bced747ed3
Note that CMPSR_HM/config.json is partially merged ( #10152 )
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
17b972f2a9
Update community page
3 years ago
Ryan McCue
812cf836f3
Add documentation for v2 repository fields ( #10033 )
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
Thomas Dutrion
82a7c527f9
Highlight the proprietary license trick
...
From the Symfony Dev #french slack channel (symfony-devs.slack.com), people look confused regarding the value to use as license for proprietary projects, even though it's written in the documentation.
Because proprietary software is still a massive part of composer's usage, I think it can be interesting to have it as a note, more readable to people.
Extract from the conversation:
> J’étais sur la bonne page, il me manquait deux lignes de scroll pour voir ça -.- On a tous nos petits moments de faiblesse
Which roughly translates to:
> I was looking at the right page, just about two lines above... We all have our weak moments
3 years ago
Sebastian Blank
a9031e40eb
Add "symlink" option for "bin-compat" config ( #9959 )
3 years ago
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
3 years ago
Jordi Boggiano
30d38679a8
Update ci job token link
3 years ago
Jordi Boggiano
c90cd6f640
Clarify what is checked when with platofrm check, fixes #9307
3 years ago
Nils Adermann
1dc39bda75
Merge pull request #9915 from Seldaek/reinstall
...
Add a reinstall command
3 years ago
Abi أب
759897e7e8
Update cache dir on macOS to follow OS guidelines (now $HOME/Library/Caches/Composer) ( #9898 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
Brad Jones
dd625669e8
Introduce gitlab-protocol option to force the gitlab repos to use https or git protocol ( #9401 )
3 years ago
Nils Adermann
21c70c2606
Merge pull request #9902 from Seldaek/cyclic-deps
...
Detect and output a better hint for cyclic dependencies
3 years ago
Jordi Boggiano
cbef7b9172
Detect and output a better hint for dependencies on the root package, fixes #9837
3 years ago
Jordi Boggiano
387e504437
Undeprecated dump-autoload --no-dev even though it is mostly not needed anymore, refs #9714
3 years ago
Jordi Boggiano
500efbe233
Add a reinstall command, fixes #3112
3 years ago
Guilliam Xavier
41c66b1a2d
Revert "Update docs and add more helpful output to validate command, refs #9782"
...
This reverts commit 458bd41d8f
.
3 years ago
Jordi Boggiano
da3d5e3143
Merge pull request #9699 from ochorocho/improve-installed-versions-9648
...
Add install-path and type to installedVersions.php and installed.php,…
3 years ago
Jordi Boggiano
23d1de5d59
Merge branch '2.0'
3 years ago
Jordi Boggiano
fee22972ea
Update basic docs on install/update, fixes #9754
3 years ago
Jordi Boggiano
284ec95712
Document new methods and update the composer-runtime-api version to 2.1
3 years ago
Jordi Boggiano
8a3f4a8400
Add secure-svn-domains config option to mark secure svn:// hostnames, fixes #9872
3 years ago