1
0
Fork 0
Commit Graph

1538 Commits (bbb603490b12382af5dd84b773fc8d20f0513cb0)

Author SHA1 Message Date
Krzysztof Andrzej Sikorski 938d0470f4
Fix link in documentation 2020-10-26 11:35:40 +01:00
Nils Adermann 8627f1cce6
Clear up plugin doc for modifying downloads 2020-10-25 22:32:44 +01:00
Jordi Boggiano 3dfbd9e9e9
Add plugin-modifies-downloads to docs, refs #9339 2020-10-25 22:07:05 +01:00
schramm-michael 996eb563c0
Update authentication-for-private-packages.md
Typo on line 278
changed cosumer... to consumer-key
2020-10-25 19:05:51 +01:00
Jordi Boggiano 3d1e8b6e75
Apply suggestions from code review
Co-authored-by: Nils Adermann <naderman@naderman.de>
2020-10-25 12:50:13 +01:00
Frank Prins c2a2e48ce9 Add information about dev-dependency of composer/composer to plugin article 2020-10-24 21:20:11 +02:00
Jordi Boggiano b1d2842fa7
Add more backticks for consistency 2020-10-24 18:10:57 +02: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
Jordi Boggiano 49a28f606c
Merge branch '1.10' 2020-10-23 10:38:03 +02:00
Michael McMahon d4e818c22f
Setting permissions prevents a warning from swapon
Warning text:
```
/sbin/swapon /var/swap.1
swapon: /var/swap.1: insecure permissions 0644, 0600 suggested.
```
2020-10-22 17:50:35 +00:00
Christophe Coevoet 8e9262f129
Enhance the doc about provide to reduce mistakes 2020-10-22 15:13:01 +02:00
Ruud Kamphuis 0234b13817
Specify unit for `process-timeout` config in docs 2020-10-22 14:43:26 +02:00
Jordi Boggiano a2c1269488
Make linking less verbose 2020-10-14 14:41:29 +02:00
Frank Prins 53b0930287 Move some duplicate documentation, link across multiple pages and clarify some texts 2020-10-13 23:55:17 +02:00
Frank Prins 2c8cbebd85 Update authentication methods in documentation 2020-10-13 23:30:47 +02:00
Jordi Boggiano aac1a25ee3
Merge pull request #9278 from Seldaek/plugin-helpers
Plugin helpers for v2
2020-10-13 15:49:23 +02:00
Jordi Boggiano bafdf9f705
Merge branch '1.10' 2020-10-13 14:47:23 +02:00
Jordi Boggiano d2d606ced2
Merge pull request #9273 from nicolas-grekas/dev-version
Add support for "extra.branch-version"
2020-10-13 14:02:41 +02:00
Nicolas Grekas 893fbfcb89 Add support for "extra.branch-version" 2020-10-13 13:56:18 +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 31cf6788e6
Improve plugin docs 2020-10-13 11:05:37 +02:00
Jordi Boggiano e537ae953e
Add apcu prefix flag to docs, refs #9212 2020-10-13 10:22:46 +02:00
Jordi Boggiano 06ab043f7b
Minor fix, refs #9250 2020-10-12 16:12:48 +02:00
Jordi Boggiano 53de100721
Merge pull request #9250 from PrinsFrank/document-authentication-for-private-packages
Document authentication for private packages
2020-10-12 16:10:11 +02:00
Jordi Boggiano 7ab24bec94
Minor updates 2020-10-12 16:09:21 +02:00
Jordi Boggiano 42ee8a7331
Delete http-basic-authentication.md 2020-10-12 15:58:53 +02:00
Jordi Boggiano 9c4b00be67
Add -w/-W to docs, refs #9257 2020-10-12 10:36:12 +02:00
Jordi Boggiano f966de94a9
Merge branch '1.10' 2020-10-12 08:33:39 +02:00
Jordi Boggiano 28fe3baf9c
Disable secure-http automatically when disable-tls is enabled, fixes #9235 2020-10-12 07:57:14 +02:00
Jaroslav Týc 85070c0afd
Fixed a white-space typo
A colon has been wrapped to a next line due to a redundant space.
2020-10-10 12:01:58 +02:00
Frank Prins 5b34a61b4a Capitalize composer name occurrences 2020-10-05 21:13:02 +02:00
Frank Prins 78f9dd73ce Rename handling private packages page to better reflect content 2020-10-05 21:11:16 +02:00
Frank Prins 2afd7e5913 Readded http basic auth page with link to new page so old links don't break 2020-10-05 14:09:58 +02:00
Frank Prins e90e08dc26 Revert rename of handling private packages with satis page to split off to new CR. 2020-10-05 10:45:41 +02:00
Frank Prins 6a2f91a0e0 Process review comments 2020-09-30 19:02:58 +02:00
Frank Prins 45d104ab83 Document authentication for private packages 2020-09-29 21:13:54 +02:00
Jordi Boggiano e3c6b213e7
Add note about composer.json location, fixes 9225 2020-09-21 13:51:49 +02:00
Samuel Ryan a66db48673
Ask for target directory when using `create-project` 2020-09-03 17:40:09 +01:00
Ivan Zugec 2b4e9742c4
capitalised the word "But" in point 3.
Just capitalised the word `But`.
2020-09-02 12:32:49 +10:00
Brad Jones 706125fbbf
Update config section to note required scope for GitLab tokens 2020-08-27 20:05:04 -10:00
Jordi Boggiano 90332f1dbd
Add a readonly mode to the cache, fixes #9150 2020-08-25 13:55:32 +02:00
Wissem Riahi 657ae5519e
Add support for TAR in Artifact packages (#9105) 2020-08-12 20:30:58 +02:00
Frank Prins 2709d943af Move note about when it is not necessary to commit the lockfile from the "Updating dependencies to their latest version" section to the "Commit your composer.lock file to version control" section 2020-08-10 17:36:34 +02: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
Jordi Boggiano 09d7acee3c
Merge branch '1.10' 2020-06-21 12:45:21 +02:00
Grummfy e55a019b8d
replace toran with private packagist 2020-06-19 18:21:03 +02: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 491067f253 Fixed wording 2020-06-07 22:31:24 +01:00
Graham Campbell fa799970ad Replace whitelist with allow list 2020-06-07 22:15:09 +01:00
Jordi Boggiano 501b06323d
Fix wording 2020-06-03 13:12:22 +02:00
Markus Staab 50944e1c42
Added docs for glob pattern support in classmaps 2020-06-03 11:04:43 +02:00
Jordi Boggiano 50ab8a7b5f
Merge branch '1.10' 2020-06-03 10:06:38 +02:00
Jordi Boggiano 93502eed68
Add powershell instructions, fixes #8883 2020-06-03 09:57:32 +02:00
Jordi Boggiano c8efb50d39
Change the single requirement ignore from --ignore-platform-reqs=xx to --ignore-platform-req=xx to avoid BC issues 2020-06-02 11:22:09 +02:00
Jordi Boggiano e85da00dff
Add a way to ignore only some packages in --ignore-platform-reqs, and make the platform check ignore those packages which were ignored as requirements, fixes #8861 2020-06-01 15:43:24 +02:00
Matěj Kmínek a074819a51
Add support for gitlab deploy token (#8867)
* feat: Added ability to work with GitLab deploy tokens: https://docs.gitlab.com/ee/user/project/deploy_tokens/

Deploy tokens can be specified two ways:
1) GIT CONFIG:
git config --add gitlab.deploytoken.user USERNAME && git config --add gitlab.deploytoken.token TOKEN
2) Auth.json:
"gitlab-token": {
    "gitlab.com": {"username": "USERNAME", "token": "TOKEN"}
}
2020-05-08 17:43:07 +02:00
Jordi Boggiano 592b05df11
Add one more use case to InstalledVersions docs 2020-05-06 11:12:31 +02:00
Jordi Boggiano ba3df8faea
Merge pull request #8843 from FIDATA/feature/archive-name
Add (default) base name of archive into composer.json
2020-05-06 11:06:28 +02:00
Nils Adermann 5d5515348a
Merge pull request #8860 from Seldaek/update-with
Add --with to update command to allow downgrading to a specific version / applying custom temporary constraints
2020-05-05 17:03:49 +02:00
Jordi Boggiano 1d077ede70
Merge branch '1.10' 2020-05-01 18:08:22 +02:00
Jordi Boggiano 7f308d986e
Add --with to update command to allow downgrading to a specific version/applying custom temporary constraints, fixes #8756 2020-05-01 16:56:17 +02:00
Jordi Boggiano fc8be2bed8
Add --no-dev to recommended check-platform-reqs command for prod deploy 2020-05-01 14:50:55 +02:00
Jordi Boggiano 0071bc1ec0
Add docs about new runtime features 2020-05-01 10:18:54 +02:00
Nils Adermann 1cb6bbe550 Clarify composer update mirrors/nothing/lock
Addresses https://github.com/composer/composer/issues/7459 by listing these special arguments in the documentation.
2020-04-30 19:54:04 +02:00
Basil Peace 6140897d08 feat: add archive.name config option 2020-04-29 01:01:48 +03:00
Jordi Boggiano a63913c245
Merge pull request #8836 from kbacia7/master
close #8784, Added --locked option to composer show command. Displaying locked packages with --all option
2020-04-28 08:54:16 +02:00
Jordi Boggiano 6e7d7097e8
Add flag to docs 2020-04-28 08:53:23 +02:00
PirxDanford 3a7ea25289
Introduce --no-install option for the update, require and remove commands
Closes #8669, fixes #8551

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2020-04-23 14:55:07 +02:00
effulgentsia 46efcefefa
Added --json and --merge options to ConfigCommand (#8779) 2020-04-23 14:27:14 +02:00
Carsten Brandt 8f8840bfda
Update 04-schema.md to reflect package naming in 2.0 (#8777) 2020-04-23 11:02:50 +02:00
Jordi Boggiano b21936ab46
Update scripts.md 2020-04-22 17:08:33 +02:00
Elan Ruusamäe 613982e88b scripts: indicate how to see scripts-descriptions 2020-04-22 14:43:02 +03:00
Jordi Boggiano 2c8a4a1b93
Add platform-check config option to disable platform_check.php generation, and disable it for Composer 2020-04-21 15:25:35 +02:00
Jordi Boggiano 44a4429978
Remove PEAR installer/downloader/repos/..., fixes #8778 2020-04-15 00:24:13 +02:00
Jordi Boggiano feefa9be71
Add post-file-download event to docs, refs #8655 2020-04-14 23:51:34 +02:00
Jordi Boggiano 7c1709c3b8
Merge pull request #8770 from villfa/patch-1
Add missing pre-status-cmd event in doc
2020-04-13 12:39:49 +02:00
Jordi Boggiano 3dd6dbe14a
Merge pull request #8774 from Ayesh/https
Update HTTP URLs to their HTTPS if they already redirect automatically
2020-04-13 11:52:21 +02:00
Ayesh Karunaratne 280f02b4bc
Update HTTP URLs to their HTTPS if they already redirect automatically 2020-04-13 06:22:02 +07:00
Fabien Villepinte da3c42cced
Add missing pre-status-cmd event 2020-04-12 13:27:48 +02:00
Christophe Coevoet c67c804c4b
Fix the doc about repository priorities 2020-04-10 13:32:55 +02:00
Jordi Boggiano 059c009179
Docs fixes
Co-Authored-By: Nils Adermann <naderman@naderman.de>
2020-04-09 14:01:05 +02:00
Jordi Boggiano b6bad4eef6
Add options to configure repository priorities 2020-04-09 13:39:06 +02:00
Jordi Boggiano aa6be02c64
Allow COMPOSER_DISABLE_NETWORK to work with GitHubDriver by doing a cache priming pass first 2020-04-08 17:53:15 +02:00
Jordi Boggiano eeca9f68ad
Merge branch '1.10' 2020-04-08 10:34:45 +02:00
Jordi Boggiano 577a7e3626
Add an example using type:* syntax 2020-04-08 09:50:46 +02:00
Tianni a47f44bc61
docs updated install package custom path 2020-04-08 09:50:35 +02:00
Jordi Boggiano 87757de6bc
Merge branch '2.0' 2020-04-07 09:39:00 +02:00
Nils Adermann 392d0abd21 Rename test files and standardize on allow list rather than whitelist 2020-03-27 22:15:04 +01:00
Jordi Boggiano b11f1c3082
Merge pull request #8705 from carlosbuenosvinos/patch-2
[DOCUMENTATION] Improve folder structure figure in "Path" type
2020-03-20 21:55:10 +01:00
Carlos Buenosvinos dc774a9409
[DOCUMENTATION] Improve folder structure figure in "Path" type 2020-03-20 21:30:03 +01:00
Carlos Buenosvinos 8e5f80ed71
Remove unnecessary space 2020-03-20 11:50:12 +01:00
Jordi Boggiano 94e6cfc521
Only show direct dependencies suggestions by default, add --all flag to see all in suggest command, fixes #8660 2020-03-10 15:09:28 +01:00
Jordi Boggiano d63eb8179e
Merge branch 'master' into 2.0 2020-03-10 14:05:33 +01:00
Jordi Boggiano f964b83018
Add bearer support in config command and add to docs/schema, refs #8671 2020-03-10 13:39:26 +01:00
Romain 41edce01fc
Update link to wikipedia VC -> Common terminology
The wikipedia section `Version_control#Common_vocabulary` has moved to `Version_control#Common_terminology`.
You know, scrolling along is harassing :-)
2020-03-06 12:17:09 +01:00
Jordi Boggiano 9cab8c10cc
Merge branch 'master' into 2.0 2020-02-28 13:31:56 +01:00
Yohann Durand 36a83869ed
Update 02-libraries.md 2020-02-16 23:02:38 +01:00
Jordi Boggiano bc002ae1fb
Merge branch 'master' into 2.0 2020-02-14 15:42:17 +01:00
Jordi Boggiano 77a477fb57
Add FundCommand 2020-02-14 14:08:38 +01:00
Nils Adermann 538f070a29
JSON Syntax fix for schema doc
Co-Authored-By: Andreas Möller <am@localheinz.com>
2020-02-14 10:08:37 +01:00
Nils Adermann 5c4f524d6a
Add funding field to composer.json
You can specify a list of funding options each with a type and URL. The
type is used to specify the kind of funding or the platform through
which funding is possible.
2020-02-14 10:08:35 +01:00
Jordi Boggiano 8fcb507d59
Update 00-intro.md 2020-02-14 08:43:03 +01:00
Sacha Durand 389a98a806
Update 00-intro.md 2020-02-14 03:11:33 +01:00
Jordi Boggiano 44d1e15294
Simplify suggester output when updating, refactor suggest command to reuse SuggestedPackagesReporter and make smarter defaults, fixes #6267 2020-02-13 16:13:29 +01:00
Abdouni Abdelkarim 9c5f1f2748
Update 01-basic-usage.md
Hello,

I just updated the link 😉.
2020-02-13 15:06:09 +01:00
Jordi Boggiano d52ce3c37f
Replace pre/post-dependencies-solving by a pre-operations-exec event happening only on install from lock 2020-02-12 14:35:31 +01:00
Jordi Boggiano 835a91532d
Add PRE_POOL_CREATE event, fixes #8348 2020-02-12 10:41:04 +01:00
Jordi Boggiano 02433c3659
Merge pull request #8565 from glaubinix/t/create-project-add-repository
Create project: add option to add the repository to the composer.json
2020-02-11 13:47:34 +01:00
Jordi Boggiano 9609729de7
Change update to upgrade for package update operations which are upgrades, refs #8594 2020-02-11 13:43:38 +01:00
Jordi Boggiano be8dd528b8
Merge remote-tracking branch 'origin/master' into 2.0 2020-02-11 11:33:52 +01:00
Klaus 9940271c6e
rename signature to checksum 2020-02-11 09:11:45 +01:00
Stephan Vock 2a564a9f36 Create project: add option to add the repository to the composer.json 2020-02-10 16:46:28 +00:00
Victor Bocharsky 3934877efe Wrap version constaints that contain * with double quotes
Some shells like ZSH require wrapping * with quotes, otherwise, it shows an error like:
> zsh: no matches found: 2.2.*
But single quotes may cause issues on Windows CMD
2020-02-08 10:16:59 +02:00
Jordi Boggiano d14d411fa4
Add --dry-run to require and remove commands, fixes #7793 2020-01-31 14:34:10 +01:00
Jordi Boggiano a5b178084c
Merge branch 'master' into 2.0 2020-01-14 15:39:35 +01:00
Jordi Boggiano 7e87b56324
Merge pull request #8497 from Fonata/patch-1
Documentation: Explain the syntax of stability flags
2020-01-13 15:58:56 +01:00
Jordi Boggiano 23359f2db6
Merge branch 'master' into 2.0 2020-01-13 13:35:52 +01:00
Tyson Andre 6827105a5b Fix nits on typos 2019-12-29 12:14:38 -05:00
Fonata 6add026df0
Explain the syntax of stability flags 2019-12-25 20:13:57 +01:00
Markus Staab 2ff079ba22
Fix typo 2019-12-22 12:33:58 +01:00
Jordi Boggiano b82a96405d
Add @putenv to docs, refs #8492 2019-12-22 12:32:04 +01:00
Jordi Boggiano f6b3f12107
Merge branch 'master' into 2.0 2019-12-07 21:10:14 +01:00
Jordi Boggiano 0d173b6e20
Merge pull request #8469 from abdounikarim/master
Update 01-basic-usage.md - add dump-autoload
2019-12-07 20:41:03 +01:00
Abdouni Abdelkarim 2f69ebc624
Update 01-basic-usage.md
Hello,

I add the `php composer.phar dump-autoload` command explicity because i didn't find it on the doc like this.

Cheers 😉
2019-12-06 09:56:16 +01:00
gary houbre ff3eda6d40 Added Documentation from new alias 2019-12-04 11:41:39 +01:00
Jordi Boggiano 88b051c96b
Merge branch 'master' into 2.0
Update deps
2019-11-23 12:27:41 +01:00
Mark Sch a9fec9b972
Fix language. 2019-11-21 23:00:29 +01:00
Jordi Boggiano 7e92950367
Merge pull request #8407 from localheinz/fix/environment-variables
Fix: Add environment variables related to Xdebug to documentation
2019-11-06 11:27:40 +01:00
Andreas Möller f4ff91da6c
Fix: Add environment variables related to Xdebug to documentation 2019-11-03 14:27:22 +01:00
Andreas Möller f7f7883a5e
Fix: Xdebug vs xdebug 2019-11-03 14:08:14 +01:00
Jordi Boggiano bc2a1d762a
Merge branch 'master' into 2.0 2019-10-30 08:54:44 +01:00
Jordi Boggiano 82e0fdccca
Merge pull request #8384 from aboks/no-lock
Config option to disable lockfile generation
2019-10-24 11:06:02 +02:00
John Stevenson 45d616c447 Add Windows proc-open errors to troubleshooting.md
As per these issues:

https://github.com/composer/composer/issues/7186
https://github.com/composer/composer/issues/8152
2019-10-21 11:12:08 +02:00
lasseeee 5687ac7de7 Don't necessarily mention Google
There's other search engines as well.
2019-10-21 11:06:38 +02:00
Arnout Boks 7c5e5e3ede Add option to disable the lock file
When the `lock` option is set to false, composer will not write a
`composer.lock` file to disk. This signals that the package is meant
to be developed with unlocked and always updated dependencies. At the
moment, both `install` and `update` are allowed to install the
dependencies for such a package. If #6822 is implemented, only `update`
should be used for packages without a lockfile.

https://github.com/composer/composer/issues/8354
2019-10-19 21:46:29 +02:00
Jordi Boggiano b60e44c1dc
Update deps 2019-08-02 20:41:50 +02:00
Jordi Boggiano 6c4357a7ed
Merge branch 'master' into 2.0 2019-07-31 17:50:01 +02:00
Jordi Boggiano e7051de1a4
Merge pull request #8215 from kpitn/patch-1
Update only one package
2019-07-30 08:18:30 +02:00
Jordi Boggiano 45591597f6
Clarify how check-platform-reqs works, fixes #8191 2019-07-29 16:38:01 +02:00
kpitn 8def53c4b3
Update only one package
This PR come with https://github.com/composer/satis/pull/509
2019-07-09 15:29:21 +02:00
Nils Adermann d2fa1e1319 Merge branch 'master' into 2.0
* master: (48 commits)
  SVN: hide passwords for debug output
  Free $solver asap
  fixes #8179
  [minor] Fixed a typo in the CHANGELOG.md.
  Update deps
  Update changelog
  Revert "Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET" Revert "Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151"
  Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151
  Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138
  Read classmap-authoritative and apcu-autoloader from project config when installing via create-project, fixes #8155
  Use possessive quantifiers
  Update xdebug-handler to 1.3.3
  fixes #8159
  Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET
  flag should come before script name
  use full command name, not abbreviated/alias
  modify text
  Document the alternatives to disable the default script timeout
  Anchor pattern
  Fix URL resolution for Composer repositories
  ...
2019-06-27 14:08:00 +02:00
Jordi Boggiano 79a300eaac
Merge branch '1.8' 2019-06-07 16:58:37 +02:00
Jordi Boggiano e7eecc6901
Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151 2019-06-07 16:55:23 +02:00
Jordi Boggiano ee506e0848
Merge pull request #8121 from gregorhyneck/run_plugins_manually_documentation
Add documentation how to run plugins manually
2019-06-07 16:49:46 +02:00
Rob Bast d63bf33848 flag should come before script name 2019-05-14 10:30:18 +02:00
Rob Bast 7f34189f91 use full command name, not abbreviated/alias 2019-05-14 10:30:18 +02:00
Rob Bast 1976da9ee9 modify text 2019-05-14 10:30:18 +02:00
Guilherme Rossato ce8afe1c95 Document the alternatives to disable the default script timeout
Mentioning and giving an example of the usage of the 4 options to disable the default script timeout of 300 seconds:
1. Static helper (already exists and kept).
2. Config key "process-timeout".
3. Environment variable "COMPOSER_PROCESS_TIMEOUT".
4. The "--timeout" parameter.
2019-05-14 10:30:18 +02:00
Kevin Boyd 5d615a16d1 Add documentation for Composer\\Config::disableProcessTimeout 2019-05-02 13:50:25 +02:00
Gregor Hyneck 4e14ac7640 Add documentation how to run plugins manually 2019-04-30 13:46:17 +02:00
Jim Birch 88852fbf1a Updates typo: nother-feature to another-feature 2019-04-02 11:15:23 +02:00
Jordi Boggiano 0317199507
Merge branch 'master' into 2.0 2019-04-01 18:03:34 +02:00
Mike Hatch 20ff8b22f2
Corrected a typo and two grammar errors. 2019-03-09 00:27:34 -06:00
Jordi Boggiano 9957807990
Merge branch 'master' into 2.0 2019-02-18 12:25:44 +01:00
John Stevenson ae9ed20812
Update 05-repositories.md 2019-02-12 12:09:25 +00:00
Nils Adermann 287419f6a0 Merge branch 'master' into 2.0
* master:
  Follow up to #7946 test: add solver flag to assert path execution
  Fix tests
  Make sure config command output is also output on --quiet so that warnings can be hidden, fixes #7963
  Recognize composer-plugin-api as a platform package, fixes #7951
  Quote wildcards to avoid issues in some shells, fixes #7960
  Avoid dumping null values for dist reference/shasum and source reference, fixes #7955
  Soften hard exit after revert of composer file
  Make unixy proxy code POSIX compatible
  Update aliases.md
  Same but for Problem.php
  Better error message for present but incompatible versions
  Fix inconsistent casing
  Don't do (new Foo())->bar() - not 5.3-compatible
  Support identifying the HHVM version when not running with HHVM
2019-02-10 20:28:24 +01:00
Jordi Boggiano ff246e3e85 Merge branch '1.8' 2019-02-10 12:59:38 +01:00
Jordi Boggiano 4de1f021f5 Quote wildcards to avoid issues in some shells, fixes #7960 2019-02-10 12:40:11 +01:00
Jordi Boggiano 9adcdfcb88
Merge pull request #7962 from TekkCraft/patch-1
Update aliases.md
2019-02-10 11:40:53 +01:00
Marc Wilhelm f89f9439e4
Update aliases.md
Add composer command for alias.
2019-02-07 17:26:17 +01:00
JakeConnors376W 3b117da6d7
Fix inconsistent casing 2019-02-04 15:59:50 -08:00
Jordi Boggiano 9c32808782 Merge branch 'master' into 2.0 2019-01-30 08:33:13 +01:00
Will Otterburn 6d58b13ee4
Update installer commit to fix SHA384 bug
Installer linked is affected by #7669
2019-01-29 18:03:03 +00:00
Jordi Boggiano 4517c00d40 Merge branch 'master' into 2.0 2019-01-29 14:01:28 +01:00
Jordi Boggiano 11bfe9970f
Merge pull request #7912 from kathyoungaligent/feature/no-api-config
Feature/no api config
2019-01-29 10:57:15 +01:00
Jordi Boggiano 2d7a8c67e8
Doc formatting fixes 2019-01-29 10:55:05 +01:00
Kath Young fbb9d20c33 Adjusted config name to be more descriptive, added documentation 2019-01-29 07:26:38 +10:30
Jordi Boggiano b89720b52a Merge branch 'master' into 2.0 2019-01-28 18:00:52 +01:00
Jordi Boggiano f1297b11bc Merge branch '1.8' 2019-01-28 16:56:40 +01:00
Jordi Boggiano abcde19022 Document --no-check-all better, fixes #7889 2019-01-28 16:17:46 +01:00
Jordi Boggiano 02ceb74151 Tweak --no-cache option to be available globally and to not break VCS drivers relying on it, refs #7880, refs #6650 2019-01-28 15:29:37 +01:00
Jordi Boggiano 0b928b2a42 Merge branch 'master' into 2.0 2019-01-28 14:33:10 +01:00
Jordi Boggiano fc03ab9bba Add COMPOSER_DISABLE_NETWORK env var for debugging 2019-01-14 17:29:24 +01:00
Jordi Boggiano f946d8eb5a More RemoteFilesystem usage removals and some repository/vcs driver refactorings 2019-01-14 17:29:23 +01:00
Jordi Boggiano 713bc4de1d Minor fixes and updated the rest of the code/tests to use HttpDownloader 2019-01-14 17:29:23 +01:00
Andreas Möller 618122f897
Fix: Keep environment variables sorted by name 2018-12-24 10:45:06 +01:00
Jordi Boggiano 85ec111dee Merge remote-tracking branch 'dmanners/add-chat-option-for-support' 2018-11-26 19:47:13 +01:00
Jérôme Deuchnord b0b00ad1fa Call a script recursively with extra parameters (#7720)
* Added support for calling scripts recursively (fixes #7562)
2018-11-26 12:35:41 +01:00
Jordi Boggiano 008475dee7
Use lowercase sha in docs 2018-11-06 14:55:46 +01:00
Jordi Boggiano 2528654c53 Merge branch '1.7' 2018-10-31 18:13:39 +01:00
dtranmobil 900e3b65db Update why-can't-composer-load-repositories-recursively.md (#7690) 2018-10-31 18:12:20 +01:00
Thomas Landauer abb6377caa Update 05-repositories.md
Fixed typo.
2018-10-24 09:39:28 +02:00
Alexey Kopytko e92eda5678
composer/composer#7384: update chat note based on code review feedback
Co-Authored-By: dmanners <dmanners87@gmail.com>
2018-10-22 10:11:34 +02:00
David Manners 96347fbea1 composer/composer#7384: add chat to support options
- update schema documents to note that chat is allowed,
 - validate that chat must be a string and a url similar to forum options
2018-10-14 11:15:25 +00:00
Alexey Pyltsyn ed3aa1870c Replace OSX with macOS 2018-09-27 14:00:10 +03:00
Christophe Coevoet 0ca5c6342d
Fix the doc markup
In *nix, the star needs to be part of the content, not of the markdown markup, and so it requires escaping.
2018-09-26 15:12:25 +02:00
Jordi Boggiano c5fa3bdde0 Migrate to repo.packagist.org for package metadata 2018-07-24 09:30:06 +02:00
Tomáš Votruba 10f707e316
basic usage - promote safe version range
I'm aware this just an example, but it [leads readers to see it a best practise](40642df5ec (r29802440)).

Having code with `"php": ">=5.4.0"` is pretty dangerous and will probably break with next major version.

```json
{
    "require": {
        "php": "^5.4"
    }
}
```

```json
{
    "require": {
        "php": "^7.1"
    }
}
```

is much more safer. Promoting best and proven practise should from *Basic usage* helps people to use composer the best way they can.

What do you think?
2018-07-23 18:49:39 +02:00
Jordi Boggiano 945adcf172 Fix doc ambiguity, fixes #7471 2018-07-20 11:38:58 +02:00
refael iliaguyev 2f347e1347 add alias `u` to the update command 2018-07-19 11:38:43 +03:00
refael iliaguyev b63e2de819 add alias `i` to the install command 2018-07-11 20:37:34 +03:00
Nathan Purcell dcdef95785
Update example for auth.json in BitBucket config
Remove the `config` level
2018-06-21 09:02:29 +01:00
Sam Pablo Kuper d7645a83a2 Document the versioning system used by Composer.
Fixes #7356.
2018-05-31 23:55:20 +01:00
mw-jko 635d96b5e5
add hint for possible need of gitlab-domains option 2018-05-03 15:43:36 +02:00
Hugo Locurcio a06ae28c69
Improve grammar in the programmatic Composer installation page 2018-04-24 17:45:51 +02:00
Jordi Boggiano 9de9c2b114
Merge pull request #7259 from tflori/doc-readme-patch
move readme description one level up
2018-04-13 11:04:53 +02:00
Jordi Boggiano ea78712822 Merge branch '1.6' 2018-04-13 10:52:23 +02:00
Jordi Boggiano eaf725d6a5
Merge pull request #7131 from pylebecq/doc-abandoned-prop
Add abandoned property in composer schema documentation
2018-04-13 10:11:54 +02:00
Jordi Boggiano f0a1eaaabf Clarify that inline aliases are root only, fixes #7217 2018-04-13 09:49:07 +02:00
Thomas Flori 6825592d65
move readme description one level up 2018-04-13 09:06:45 +02:00
Jordi Boggiano a8cf4a07fc Merge branch '1.6' 2018-04-12 20:03:08 +02:00
Jordi Boggiano 24ef605473 Clarify that #refs is root-only, fixes #7241 2018-04-12 19:49:18 +02:00
Jordi Boggiano 35ebb8b93f Merge branch '1.6' 2018-04-12 19:22:50 +02:00
Jordi Boggiano 89e138a593 Add hint about .local/bin to docs, fixes #7132 2018-04-12 19:06:24 +02:00
Jordi Boggiano 00031afa87
Merge pull request #7253 from tflori/patch-1
add readme to support fields in the schema docs
2018-04-12 12:03:01 +02:00
Jordi Boggiano a652039cc2
Merge pull request #7157 from xabbuh/patch-1
document the COMPOSER_MEMORY_LIMIT env var
2018-04-12 09:26:38 +02:00
Thomas Flori 05c9542db8
add readme to support fields in the schema docs 2018-04-12 06:37:16 +02:00
Moviuro 75be28d4a3
how-to-install-composer-programmatically.md: quotes are seatbelts 2018-04-03 15:02:24 +02:00
Jordi Boggiano d694687b86
Merge pull request #7128 from rogeriopradoj/patch-1
Add option "no-secure-http" for create-project
2018-03-29 23:11:00 +02:00
Sven Luijten 8f65518ed3 Avoid using 'just' in documentation 2018-03-23 11:37:33 +01:00
Christian Flothmann 47ce495454
document the COMPOSER_MEMORY_LIMIT env var
as implemented in 882b82d542
2018-03-05 09:38:22 +01:00
Pierre-Yves Lebecq efc744de76 Add abandoned property in composer schema documentation 2018-02-23 10:50:53 +01:00
Rogerio Prado de Jesus 7676a5e4ec
Add option "no-secure-http" for create-project
Refers to #5121, commit f13e0f975f
2018-02-21 18:09:43 -03:00
Jordi Boggiano 916b488c61
Merge pull request #7065 from katzien/master
Correct a tiny typo
2018-02-01 15:49:18 +01:00
Kat a34f88cb01
Change `dependencies` to `binaries` 2018-02-01 14:43:38 +00:00
Jordi Boggiano 9a3c0f7eda Tweak platform config docs, fixes #7067 2018-02-01 11:03:56 +01:00
Jordi Boggiano 9f34ee9892 Merge branch '1.6' 2018-01-31 16:23:09 +01:00
Jordi Boggiano 1f3c52d3af Doc tweak 2018-01-31 16:23:01 +01:00
Kat cd27cb1a95
Correct a tiny typo
`project b's` should be `project a's` in the example given
2018-01-31 14:38:48 +00:00
Jordi Boggiano b1bfb9bb65 Add PRE_COMMAND_RUN event, fixes #7002 2018-01-24 15:21:55 +01:00
Jordi Boggiano bcfb34b9c8
Merge pull request #7006 from tanarurkerem/patch-1
Update how-do-i-install-a-package-to-a-custom-path-for-my-framework.md
2018-01-24 09:06:47 +01:00
Jordi Boggiano ad8b44a4c8 Merge branch '1.6' 2018-01-22 15:42:56 +01:00
Jordi Boggiano f28feedf58 Update list of explicit VCS repo types, refs #7023 2018-01-22 14:09:36 +01:00
Jordi Boggiano 9b30d83c23 More license docs fixes 2018-01-22 09:42:50 +01:00
Jordi Boggiano 2e0a25e73f Update license docs 2018-01-22 09:37:05 +01:00
István Palócz 6ae8e340c1
Update how-do-i-install-a-package-to-a-custom-path-for-my-framework.md
Title changed
2018-01-12 13:37:42 +01:00
Jordi Boggiano 882b82d542 Add COMPOSER_MEMORY_LIMIT env var to force a given memory_limit, fixes #6931 2018-01-04 10:49:41 +01:00
Gabriel Caruso 486e580db2 Clean up documentation 2017-12-30 18:11:52 -02:00
Martin Hujer 9bb4cce0b8 Fixes typos in docs 2017-12-29 13:29:13 +01:00
Martin Hujer 149a5e9401 Change links to prevent unnecessary redirect 2017-12-29 11:38:02 +01:00
Martin Hujer 58a62dceab Change http to https where possible 2017-12-29 11:37:59 +01:00
Mathias Brodala 8424235fac Rename to "scripts-descriptions" 2017-12-18 10:47:01 +01:00
Mathias Brodala 80d0c2029b Move "scripts-description" to toplevel
Fixes #6881
2017-12-18 10:14:24 +01:00
Jordi Boggiano 8bc02d1aed
Merge pull request #6904 from brettsantore/doc-update
clarify optionality of package in require command
2017-12-17 15:02:18 +01:00
Jordi Boggiano 226eb7e657
Merge pull request #6906 from sonjaq/patch-1
Corrects troubleshooting.md documentation link by removing space
2017-12-16 22:38:39 +01:00
Jordi Boggiano 0a09886307
Merge pull request #6880 from mbrodala/patch-2
Document arguments for custom commands
2017-12-16 22:19:44 +01:00
Jordi Boggiano 525e6cddaa
Add check-platform-reqs to docs 2017-12-16 22:04:48 +01:00
Jordi Boggiano 5f382e1e63
Merge pull request #6899 from kohkimakimoto/update-doc
update doc
2017-12-16 21:59:54 +01:00
Sonja Leaf 20cdfd09ae
Corrects documentation link by removing space
There was an extra space lurking that prevented a link from rendering. The space is now removed.
2017-12-15 12:33:31 -06:00
Brett Santore 449ecf098d clarify optionality of package in require command 2017-12-14 11:44:54 -05:00
Kohki Makimoto afa0b14389 update doc 2017-12-13 11:58:42 +09:00
Mathias Brodala 4721a7c2c8
Document arguments for custom commands
Custom commands support the same pattern to pass arbitrary arguments like the "run-script" Composer command.
2017-12-07 12:21:41 +01:00
Dane Powell 8695fd6948
Clarified language on branch naming for forks 2017-12-05 11:15:17 -08:00
Saul Wilcox bb97383772
Add 'remove' to example global commands
Common and useful enough to be explicitly stated in docs
2017-11-15 10:06:24 +00:00
Jordi Boggiano 308cf07973
Merge pull request #6781 from cafferata/patch-1
Update 03-cli.md
2017-11-03 19:59:19 +01:00
Jordi Boggiano 4ab34c22fa
Merge pull request #6740 from croensch/master
also support NO_PROXY
2017-11-03 19:50:28 +01:00
Jordi Boggiano 41a9357d4b Merge remote-tracking branch 'thom8/script_help' 2017-11-03 17:19:36 +01:00
Jordi Boggiano 9df22654c3 Merge remote-tracking branch 'grasmash/issue-6661-whitelist-all-deps' 2017-11-03 14:20:38 +01:00
Jeffrey Cafferata b36622d316
Update 03-cli.md
Package `fabpot/php-cs-fixer` is, so I replaced it with `friendsofphp/php-cs-fixer`.
2017-11-03 11:49:42 +01:00
croensch 6da92e98ac also support NO_PROXY
since WINDOWS can only have one case and that is usually upperase
2017-10-12 16:35:05 +02:00
Petr Heinz 7d06c3b9b8 typo "semvar" => "semver" 2017-09-19 09:37:28 +02:00
Bartek Zdanowski dc693c3a6e fixed caret sub title link in the article
Fixed link to Caret version range paragraph
2017-09-12 09:11:47 +02:00
Thom Toogood bf880ad5e0 Allow custom script descriptions. 2017-09-12 13:17:08 +10:00
Matthew Grasmick 2e9e7ddd99 Updating docs. 2017-09-11 12:43:32 -04:00
Jordi Boggiano 92458596ea Merge branch '1.5' 2017-09-11 16:23:25 +02:00
Jordi Boggiano 69ecb2403e Add upgrade alias to update, fixes #6649 2017-09-11 16:13:33 +02:00
Jordi Boggiano 7c0a774157 Merge pull request #6654 from andrewryantech/patch-1
Update why-can't-composer-load-repositories-recursively.md
2017-09-11 10:32:55 +02:00
Nils Adermann 90b802a732 Documentation: Wording on multi version package repo doc 2017-09-11 00:11:20 +02:00
Jordi Boggiano eb61069058 Merge pull request #6613 from decadence/patch-1
Note for aliases
2017-09-09 12:41:49 +02:00
andrewryantech a6d0ecd13f Update why-can't-composer-load-repositories-recursively.md 2017-09-05 08:55:37 +10:00
Deamon bff904d11c add example on how to add several version of a package 2017-08-25 15:39:52 +02:00
Victor Isadov 4a4bd4a6a2 Note for short names 2017-08-16 16:14:29 +03:00
Victor Isadov 884a605bbe Update 03-cli.md 2017-08-16 16:11:41 +03:00
Victor Isadov 7968016d26 Update 03-cli.md 2017-08-16 16:11:04 +03:00
Victor Isadov 4c165f9718 Update 03-cli.md 2017-08-16 16:08:05 +03:00
Jordi Boggiano 0292a2f78f Merge pull request #6605 from decadence/patch-1
Update versions.md
2017-08-14 09:24:59 +02:00
Victor Isadov 2bb5c79ea4 Update versions.md 2017-08-12 14:49:54 +03:00
Mohamed Chraiet c2815e9df0 Typo correction
Should be repository instead of respository.
2017-08-11 16:33:27 -04:00
Jordi Boggiano b07be842a0 Remove feature-branches option as it is misnamed and duplicates the non-feature-branches option, refs #6475 2017-08-07 18:14:04 +02:00
Jordi Boggiano c2da4e0e0e Merge pull request #6582 from jasonquick/patch-1
Improve BitBucket driver usage documentation
2017-08-07 11:17:58 +02:00
Jordi Boggiano 474834e8a9 Wording tweaks 2017-08-07 10:57:15 +02:00
jasonquick 5b6d954528 Clarify use of auth.json file 2017-08-04 13:29:21 -04:00
jasonquick 88b88319b5 Improve BitBucket driver usage documentation
Clarified and expanded the documentation for private repositories using the BitBucket driver. Emphasized the use of the COMPOSER_AUTH variable to encourage people not to save their credentials in composer.json. Pointed out that git endpoints don't seem to work.
2017-08-01 21:32:13 -04:00
Alex Mersdorf 1d66852c6e Update 04-schema.md
Added line to try and clarify, that any dev/non-minimum-stability Requirement needs to be added to root composer.json as well.
2017-07-10 14:27:01 +02:00
Jordi Boggiano 020805dd6f More version doc updates 2017-07-04 08:18:43 +02:00
Jordi Boggiano 91fcb6cba1 Clarify version doc titles 2017-07-04 08:16:56 +02:00
Jordi Boggiano 69282de829 Fix env var docs 2017-06-17 15:38:05 +02:00
Wil Hall 9e2cd9e717 Word wrap htaccess-protect option documentation 2017-06-16 08:26:43 -04:00
Wil Hall 6b806d3afd Add cli documentation for COMPOSER_HTACCESS_PROTECT env variable 2017-06-15 11:53:13 -04:00
Wil Hall bf088c76c4 Simplify documentation for htaccess-protect config option 2017-06-15 11:43:11 -04:00
Wil Hall f0924fb878 Add htaccess-protect option for disabling the creation of .htaccess files 2017-06-15 11:06:13 -04:00
Jordi Boggiano cc9234562d Merge pull request #6475 from NamelessCoder/featurebranches
Add support for feature-branches setting
2017-06-15 15:49:10 +02:00
Jordi Boggiano 1d9434af45 Merge pull request #6095 from teolaz/teolaz1990-doc-patch
Teolaz1990 doc patch
2017-06-15 14:44:46 +02:00
Mathias Brodala 112ff7b61d Fix typo in docs
Fixes a typo from #6477
2017-06-13 14:52:52 +02:00
Michael King e7d2682204 Example of disabling packagist.org globally
Obviously this is not a common use case, but it is good for isolated networks. As far as I could tell, this was not documented, but I figured it out by looking through the code.
2017-06-13 08:06:13 -04:00
Claus Due 965f1f42d1 Add support for feature-branches setting
A negative list of non-feature-branches names
is already supported - this patch adds a list of
branches names which *will* be considered as
feature branches.

Allows changing the currently hardcoded set of
expected feature branch names, from:

* master|trunk|default|develop

To any set of names or patterns that you desire.
2017-06-11 19:02:51 +02:00
Jordi Boggiano 9aadbe2728 Minor wording tweak
Closes https://github.com/composer/getcomposer.org/issues/113
2017-06-06 15:49:06 +02:00
Jonas Thelemann f3aa1885bb Remove Deprecated Licenses
These licenses are deprecated in spdx spec v2 (https://spdx.org/licenses/).
2017-05-25 23:33:20 +02:00
Nick Booher 222440c7f2 Rename how-do-i-install-composer-programmatically.md to how-to-install-composer-programmatically.md 2017-05-19 06:17:38 -05:00
Nick Booher c79d4b6a9f Fix grammar and match form of similar questions 2017-05-18 14:15:27 -05:00
Javier Eguiluz 4a3d57b166 Typo 2017-04-05 11:31:41 +02:00
Javier Eguiluz 5f6d42a0b0 Package names are case insensitive 2017-04-05 10:04:19 +02:00
Javier Eguiluz 5f09df6070 [Doc] Explained a bit more about the possible contents of the "name" property 2017-04-05 09:15:06 +02:00
Fabien Bourigault df85bc3ac3 update cli documentation 2017-03-27 16:52:50 +02:00