1
0
Fork 0
Commit Graph

1210 Commits (bf39fab82de651263e683cea4930ef4beab9794d)

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