1
0
Fork 0
Commit Graph

1273 Commits (6e8e5f6ba6cd4109f2984b730e73376ea8cb2e0c)

Author SHA1 Message Date
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