1
0
Fork 0
Commit Graph

1477 Commits (bc29ffa5003a1e90398521768b74ebea9f3d9937)

Author SHA1 Message Date
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
frezno 5a3891d5d9 Correct path 2017-03-11 16:15:19 +01:00
Roman Kluth aa784bc1a5 Update 01-basic-usage.md 2017-03-09 12:37:34 +01:00
Thorsten Frommen 8c388a6a4d Fix typo 2017-03-09 11:14:27 +01:00
Nils Adermann 001fe8afcf Merge branch 'docs-improve'
* docs-improve:
  Docs: cleanup version branches section
  Docs: those/these composer/Composer
  Docs: notice => note
  Docs: Fix shell sample output
  Docs: Add back a second clear note about hardcoded versions in VCS
  Docs: HHVM is not called HipHop
  Docs: versions plural, and update == rm lock&install
  Docs: don't use short forms, it => composer
  Docs: composer.lock lists versions, not constraints
  Docs: superfluous comma & it => Composer
  The confusing part is probably rather constraints and how versions work, not what they are
  Docs: Clarify what "It" stands for
  Finished reworking docs to clarify points about versioning (fixes #6088)
  Updated basic usage and versions pages to clarify how versioning and package resolution works (refs #6088)
  Added some useful overview information about repositories in the Basic Usage documentation.
2017-03-08 11:21:05 +01:00
Nils Adermann cd224ad44b Docs: cleanup version branches section 2017-03-08 11:20:23 +01:00
Nils Adermann 6c07bb1fb7 Docs: those/these composer/Composer 2017-03-08 11:13:08 +01:00
Nils Adermann 4a20d5d98b Docs: notice => note 2017-03-08 11:10:51 +01:00
Nils Adermann 138fb5b6af Docs: Fix shell sample output 2017-03-08 11:02:24 +01:00
Nils Adermann d835983b15 Docs: Add back a second clear note about hardcoded versions in VCS 2017-03-08 10:58:55 +01:00
Nils Adermann faac4d56b4 Docs: HHVM is not called HipHop 2017-03-08 10:49:06 +01:00
Nils Adermann 78565d00b9 Docs: versions plural, and update == rm lock&install 2017-03-08 10:45:46 +01:00
Nils Adermann 4ccf5b6535 Docs: don't use short forms, it => composer 2017-03-08 10:42:54 +01:00
Nils Adermann 586e0d6cdb Docs: composer.lock lists versions, not constraints 2017-03-08 10:36:27 +01:00
Nils Adermann 18a4aecef5 Docs: superfluous comma & it => Composer 2017-03-08 10:29:02 +01:00
Nils Adermann 7bdc929e6d The confusing part is probably rather constraints and how versions work, not what they are 2017-03-08 10:23:14 +01:00
Nils Adermann c15baed33a Docs: Clarify what "It" stands for 2017-03-08 10:15:27 +01:00
Jordi Boggiano a286c39f20 Add docs about new --format, refs #6228 2017-03-07 14:19:51 +01:00
Jordi Boggiano 6260bb70d0 Warn about using autoloader optimizations in dev 2017-03-07 14:04:10 +01:00
Jordi Boggiano f1f064981b Add docs about autoloader optimizations, fixes #5947 2017-03-07 12:33:19 +01:00
Jordi Boggiano e2b2baf48a Merge pull request #6205 from Xerkus/patch-1
Update current plugin api version in docs
2017-03-06 15:43:09 +01:00
Jordi Boggiano 0ecd1f5eb5 Merge branch '1.3' 2017-03-06 12:30:33 +01:00
Jordi Boggiano 4b11bbccef Add note about requiring composer for plugin dev, fixes #6132 2017-03-06 09:01:07 +01:00
Jordi Boggiano 78d81cc473 Fix typo 2017-03-01 09:13:04 +01:00
Aleksei Khudiakov acc1238ac2 Update current plugin api version in docs 2017-02-24 05:02:57 +10:00
Jordi Boggiano b3fe9fa1a5 Update example to use psr-4 namespace adding, fixes #6145 2017-02-17 22:17:27 +01:00
Christian Schnegelberger 86b2e01a8b Dead link to Mercurial
https://www.mercurial-scm.org/ <-- new one
2017-02-16 18:02:39 +01:00
Jordi Boggiano 363bab90fa Replace toran 2017-02-10 13:32:08 +01:00
Kael Shipman 9a755fa7d4 Merge remote-tracking branch 'upstream/master' 2017-01-23 13:07:22 -06:00
Kael Shipman c8c7619a4a Finished reworking docs to clarify points about versioning (fixes #6088) 2017-01-23 13:06:51 -06:00
Richard B. Porter 231f56b4ae use 'in the case of' instead of 'in case of' 2017-01-20 13:44:19 -06:00
Kael Shipman a0d2934946 Updated basic usage and versions pages to clarify how versioning and package resolution works (refs #6088) 2017-01-20 11:49:29 -06:00
Kael Shipman 7a9f24b913 Added some useful overview information about repositories in the Basic Usage documentation. 2017-01-19 19:04:24 -06:00
Tilo Baller 89a2e66293 Add GitLab as supported downloads source in docs 2017-01-19 00:12:05 +01:00
Matteo 9e605c85e2 Update 05-repositories.md
another thing forgot learned here #6056 and here https://github.com/composer/composer/issues/5166#issuecomment-226110812
2017-01-10 15:19:54 +01:00
Matteo 60cf410acf Update 05-repositories.md
Another thing noted while trying to solve the problem here #6056
2017-01-10 15:09:03 +01:00
Matteo 639c0fb5ce Update 05-repositories.md
Refer to #6056
2017-01-10 13:46:33 +01:00
Nils Adermann b3bd409a30 Clarify Private Packagist description a bit 2017-01-03 01:03:08 +01:00
Filippo Tessarotto 498d49f1ba Fix php.net HTTPS links; always use HTTPS for getcomposer.org 2017-01-02 12:49:45 +01:00
Michael Cullum 97a80b6249 Update memory limit in docs
As per 0bc75c3fb6
2017-01-01 21:18:52 +00:00
Jordi Boggiano 77ad36c067 More doc updates 2016-12-29 18:12:21 +01:00
Jordi Boggiano fdd63de8ac Typo fix 2016-12-29 18:02:08 +01:00
Jordi Boggiano 173a601d27 Update private package hosting docs 2016-12-29 18:01:02 +01:00
johnstevenson 25ff290e4c Document COMPOSER_DISABLE_XDEBUG_WARN variable 2016-12-28 15:22:00 +00:00
johnstevenson d57a89d5af Update xdebug troubleshooting, fixes #5997 2016-12-28 12:13:23 +00:00
Jordi Boggiano 9042147674 Merge pull request #5931 from Jean85/patch-1
[Documentation] Update troubleshooting article
2016-12-24 01:08:39 +01:00
Jordi Boggiano da097aa6fc Clarify PATH modification, refs #5970 2016-12-18 11:39:05 +01:00
Jordi Boggiano b0000617cc Support @php prefix for scripts to reuse the current PHP interpreter, fixes #5957 2016-12-11 16:17:34 +01:00
Jordi Boggiano 1dcb2b5758 Merge remote-tracking branch 'nicolas-grekas/apcu' 2016-12-07 00:21:13 +01:00
Jordi Boggiano cd21d7e7d4 Merge pull request #5897 from baptistedonaux/patch-1
Permanent swap file tutorial proposed
2016-12-06 22:44:11 +01:00
Alessandro Lai 7b966f9355 Remove reference to COMPOSER_IGNORE_XDEBUG_WARN 2016-12-06 17:48:23 +01:00
Nicolas Grekas 6d4e60b991 Add --apcu-autoloader option to enable APCu caching of found/not-found classes 2016-12-06 11:21:44 +01:00
Mark Watney a8a432c580 Fix wrong Composer package "type" example
Details: https://wiki.typo3.org/Composer#TYPO3_Composer_installers
2016-12-02 20:22:07 +01:00
Alessandro Lai 365e3feba9 [Documentation] Update troubleshooting article
- remove the xdebug section, since it will be irrelevant from v1.3
 - add cPanel shell fork bomb protection as an other possible root cause of memory errors
2016-12-02 18:26:07 +01:00
Rob Bast 960607afc8
Merge branch '1.2' of github.com:composer/composer
* '1.2' of github.com:composer/composer:
  semver.mwl.be moved to HTTPS
2016-12-02 10:09:28 +01:00
Filippo Tessarotto 35a5036c3e semver.mwl.be moved to HTTPS 2016-12-02 09:09:31 +01:00
Bill Lovett 9e16882d12 Clean up a merge conflict in repositories doc
A merge conflict slipped through recently, corrupting the page a bit.
2016-12-01 09:44:35 -05:00
Jordi Boggiano 193d53921b Merge branch '1.2' 2016-12-01 00:00:32 +01:00
Jordi Boggiano 91e7372c6e Backport update packagist default repo to be packagist.org 2016-11-30 22:57:11 +01:00
debugteam 2333a0120e disabling packagist.org did not work
While testing i found that 

"packagist.org": false 

didn't work to disable packagist.

I have read following issue 

https://github.com/composer/composer/issues/3713

afterwards i've testet 

"composer config repositories.packagist false"

did the review on the composer.json and found that 

"packagist": false 

actually disabled packagist.
2016-11-29 18:02:38 +01:00
Baptiste Donaux 90b79d685a Permanent swap file tutorial proposed 2016-11-23 12:05:55 +01:00
Rob Bast 4abb02dbe8
fix #5884 - mardown issues + move urls to footnotes 2016-11-21 08:19:10 +01:00