1
0
Fork 0
Commit Graph

722 Commits (04879e82ae381844db41ca2edbc8296bdbbd4cba)

Author SHA1 Message Date
Anton Evers cc3a8379e2 Ignore all .git dirs in the vendor dir recursively
In accordance with http://git-scm.com/docs/gitignore
2015-04-14 09:46:53 +02:00
Hannes Van De Vreken 93f73ecc8c Link to semver version constraint tester 2015-04-14 09:21:48 +02:00
Richard K Miller 5b3457f812 Fix typo in aliases.md 2015-04-13 10:49:35 -06:00
Tomáš Votruba 0924318c17 Readme: 00-intro - use __DIR__
It is best practice to use `__DIR__` constant. Also it's used in `autoload.php` itself.
2015-04-02 02:22:46 +02:00
Geo 2070b95e27 Update 04-schema.md 2015-03-30 17:19:20 -04:00
jakoch cf7441bc27 added "example using a custom HTTP Header field" to docu, issue https://github.com/composer/composer/issues/3756 2015-03-27 19:01:16 +01:00
msiebeneicher 7522a33079 Merge branch 'master' of https://github.com/composer/composer into add_exclude
# By Jordi Boggiano (30) and others
# Via Jordi Boggiano (37) and Morgan Campbell (1)
* 'master' of https://github.com/composer/composer: (83 commits)
  Update 01-basic-usage.md
  Revert 331425bcb3 as well, fixes #3612
  Revert "Disable overwrites when no-ansi is present, fixes #3612"
  Update deps
  Use justinrainbow/json-schema 1.4
  Improved wording
  Fix docs basic-auth => http-basic
  Add test for Generics class
  Single variable for traits and enums
  Use HHVM_VERSION instead of HPHP_VERSION
  Add support for using classmap to autoload Hack enums
  Re-use existing autoloader suffix if available, fixes #3701
  Report Travis CI build success early
  Test on HHVM nightly releases. Allow to fail.
  Make parseJson safer
  Use get home from Config instead of factory
  Fix env override regression, fixes #3820
  [create-project] Used no progress value for dependencies
  Add docBlock and fix CS
  Fix output of first line of progress when output is not decorated, refs #3818
  ...
2015-03-25 16:27:23 +01:00
Morgan Campbell 7cb9b9a985 Update 01-basic-usage.md
Added a missing "the" so the sentence flows a little better.
2015-03-25 08:32:29 -05:00
Markus Schulte bcc387b297 Explaining how to deal with cyclic dependency problems within Jenkins-builds. 2015-03-24 09:44:13 +01:00
isoroku e0657b60a2 Fix misspellings 2015-03-20 14:23:24 +00:00
Sergey Gonimar c87418099c Fix docs basic-auth => http-basic 2015-03-13 14:25:55 +05:00
Jordi Boggiano 2a0da15eb5 Merge pull request #3227 from tobiastom/patch-1
Added some details about authentication handling.
2015-03-05 20:53:47 +00:00
Jordi Boggiano 26799f4244 Update script/plugin docs 2015-03-04 23:50:10 +00:00
Raphael Antonmattei 7b635f835d VCS section: add requirements for the branch name
If you want to use a custom branch in your requirements in your `composer.json`, that branch must be prefixed with "dev-" or you'll get an error:
```sh
[UnexpectedValueException]
  Could not parse version constraint some-branch: Invalid version string "some-branch".
```

It took me a while to find that info, so I figured I'd rather edit the doc.
Let me know.
2015-02-25 11:46:36 -05:00
Jordi Boggiano 01476214da Tweak satis/toran/packagist docs 2015-02-24 12:49:14 +00:00
Jordi Boggiano 5744981795 Merge pull request #3702 from alcohol/feature/list-scripts
Added --list to run-script command, closes #3671
2015-02-17 20:23:05 +00:00
msiebeneicher 636f93750c add "exclude-from-classmap" description to 04-schema.md 2015-02-17 15:56:34 +01:00
Felix Kiss 65f8d1c247 Update why-are-unbound-version-constraints-a-bad-idea.md
Minor text improvement
2015-02-17 02:46:15 +01:00
Jordi Boggiano 53925295c3 Merge pull request #3699 from trivago/non_feature_branches
added non-feature-branches
2015-02-14 15:44:45 +00:00
rkerner 38d546da45 * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
* fixed indentation and styling
2015-02-11 16:03:17 +01:00
rkerner 40b498c96e * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
* fixed indentation and styling
2015-02-11 16:01:41 +01:00
rkerner 86c7dfcd94 * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
* fixed indentation
2015-02-11 16:00:43 +01:00
rkerner 62636cdd64 * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
* fixed indentation
2015-02-11 15:59:26 +01:00
rkerner a8b8a2e143 * added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
* added documentation to doc/04-schema.md
2015-02-11 15:57:33 +01:00
Kocsis Máté 63b3bc61b2 Added docs for bin-compat 2015-02-03 21:06:53 +01:00
Rob Bast 1575f19ef2 Updated documentation 2015-02-03 15:26:02 +01:00
Hannes Van De Vreken 955e3f776a Add notion of autoloader skipping autoload-dev rules 2015-01-30 21:51:12 +01:00
Paul Dragoonis 2bd9cef799 Satis grammar fix. 2015-01-30 10:35:39 +00:00
Nils Adermann 2fbce61f6a Merge pull request #3675 from Shelob9/patch-1
Add note about /usr not existing in OSX Yosemite by default.
2015-01-29 16:53:39 +01:00
Josh Pollock 76a0e818b5 Improve notice about /usr/local/bin 2015-01-28 21:33:42 -05:00
Nils Adermann 0543a32d39 Merge pull request #3610 from bd808/feature/classmap-authoritative
Add classmap-authoritative config setting
2015-01-28 11:26:28 +01:00
findstar 82831bec13 I think 'dump-autoload' command is more proper. 2015-01-28 15:07:44 +09:00
Josh Pollock 59141c8663 Add note about /usr not existing in OSX Yosemite by default.
BTW Seriously Apple?
2015-01-25 17:05:21 -05:00
Jordi Boggiano f5de5a1268 Merge pull request #3652 from hallabro/documentation-versionparser
Update documententation for version shorthand parsing
2015-01-20 10:27:47 +00:00
Jordi Boggiano dadf02f511 Merge remote-tracking branch 'tractorcow/pulls/fix-numeric-alias' 2015-01-20 10:18:29 +00:00
Jordi Boggiano af161e242e Add more troubleshooting info, refs #3457 2015-01-20 09:55:18 +00:00
Robin Hallabro ea3736522d Update documententation for version shorthand parsing 2015-01-20 09:05:40 +01:00
Damian Mooyman 7bb85ff21e Support aliases for numeric branches. Fixes #3461 2015-01-20 17:42:01 +13:00
SofHad 9d84a92163 Fixed json syntax error 2015-01-16 20:59:30 +01:00
Hannes Van De Vreken 200f867d64 "suggest" was on a wrong heading level compared to the others 2015-01-09 10:08:13 +01:00
Bryan Davis ad1f8e6c5a Add classmap-authoritative config setting
Add a "classmap-authoritative" configuration setting that can be used to
disable searching the various prefix and fallback directories for
classes that have not been registered with the
Composer\Autoload\ClassLoader class map. This setting can be used to
optimize performance by avoiding a potentially large number of
`file_exists` calls when Composer is being used in a program with
additional autoloader facilities. Use of the setting implies
"optimize-autoloader" to ensure that the most complete class map
possible is generated.

Closes #3603
2015-01-03 17:35:25 -07:00
Jordi Boggiano 8d0c1a14b3 Add --ignore-platform-reqs to create-project, refs #1426 2015-01-01 16:21:22 +00:00
Jordi Boggiano b8f4960f0d Merge remote-tracking branch 'mattsah/master' 2014-12-29 20:21:43 +00:00
Arfan 70007fee4e Typo edited.
Silly typo edit.
2014-12-21 02:18:29 +05:30
tomzx 6b5a531782 Minor fix to the HTTP Basic Authentication documentation
Replaced JSON array with JSON object since you cannot assign key values in an array.
2014-12-17 21:11:36 -05:00
Jordi Boggiano c54d6f93e3 Add --absolute to resolve absolute paths in config command, otherwise set default back to relative 2014-12-16 14:28:51 +00:00
Miodrag Tokić 12ba415f0e Fix documented Composer home variable name 2014-12-14 22:55:49 +01:00
Jordi Boggiano 901fd838f3 Merge pull request #3450 from nicolas-grekas/prefer-lowest-stable
add --prefer-lowest and --prefer-stable to update command
2014-12-14 13:02:06 +00:00
Nicolas Grekas e821ac2772 Persist prefer-lowest in composer.lock 2014-12-14 10:29:41 +01:00
Rob 2e4cb8be33 scrapping next line 2014-12-13 19:05:52 +01:00
Rob d26f817cfd rewriting some documentation sections 2014-12-13 18:59:14 +01:00
Jordi Boggiano d515577560 Fix wording, refs #3466 2014-12-13 13:37:05 +00:00
Jordi Boggiano d6d8fe5f55 Merge remote-tracking branch 'PaulSchell/patch-1' 2014-12-13 13:35:41 +00:00
Jordi Boggiano 4a3bc58adf Fix formatting 2014-12-10 15:36:16 +00:00
Jordi Boggiano fa470be001 Wording tweaks and docblock formatting, refs #2536 2014-12-08 21:30:39 +00:00
Jordi Boggiano 5c62e9b487 Merge remote-tracking branch 'cordoval/http-basic-auth' 2014-12-08 21:23:58 +00:00
Jordi Boggiano 90a69cd02e Add new arg to docs, refs #3385 2014-12-08 21:21:33 +00:00
Jordi Boggiano f363f9d370 Add support for caret (^) operator 2014-12-08 15:39:52 +00:00
Jordi Boggiano ebab9db27a Add support for hyphen ranges 2014-12-08 13:44:42 +00:00
Jordi Boggiano 69ef80124f Add support for capital X in 3.X and || for OR 2014-12-08 12:59:01 +00:00
Jordi Boggiano ca168d478b Spaces are now equivalent to comma in constraints and mean AND 2014-12-07 18:07:29 +00:00
Paul Schell 62bcc3996b Update 00-intro.md 2014-11-25 17:01:07 +01:00
Matthew J. Sahagian 14fe882b44 Added no-autoloder option to install and update 2014-11-21 13:28:44 -08:00
Olivier Laurendeau 1c5c334b48 Update remove command's documentation 2014-11-15 10:36:15 +01:00
Olivier Laurendeau af79a104d9 Update require command's documentation 2014-11-15 10:35:21 +01:00
Veres Lajos 7f64afcbe8 typo fix 2014-11-04 21:47:59 +00:00
Jordi Boggiano 751190aafd Add new github-expose-hostname to docs/schema/config command, refs #3164 2014-10-17 17:21:59 +01:00
Jordi Boggiano 2bb78708b8 Merge pull request #3246 from richardkmiller/patch-1
Very tiny but necessary edit
2014-10-17 16:09:33 +01:00
Jordi Boggiano 8a29c812e3 Fix docs 2014-10-17 15:52:44 +01:00
Jordi Boggiano 97f191a7a7 Add --ignore-platform-reqs to docs, refs #3320 2014-10-17 15:37:37 +01:00
Matthias Pigulla 579409e6c5 Update fixtures to include gar/nix (which is being replaced) and bar/baz (which has a branch-alias) 2014-10-13 12:55:00 +02:00
Matthias Pigulla 905f08e46e Add some examples for "composer" type repositories.
These can be used as examples or possibly for tests.
2014-10-11 16:23:36 +02:00
Jordi Boggiano 7ccda2b1c3 Update recommendations, refs #3095 2014-10-07 14:35:09 +01:00
Jordi Boggiano bdc60ec9c4 Merge remote-tracking branch 'amyboyd/patch-1' 2014-10-07 14:26:26 +01:00
Thomas Punt 26122cff43 Updated example to have a valid tag name. 2014-10-06 15:41:47 +01:00
Jordi Boggiano 6c0afd3fc0 Merge pull request #3191 from jakoch/master
added stof's php inline example from #3190 to doc/articles/scripts.md
2014-10-04 17:55:03 +01:00
Jordi Boggiano 2e1373b339 Update require message and delete empty file at the end in case of failure, fixes #3260 2014-10-04 17:31:45 +01:00
Jordi Boggiano 3d1a094535 Merge pull request #3262 from jklein/patch-1
Fixing a typo in the scripts documentation
2014-10-04 17:00:32 +01:00
Jordi Boggiano 0cb42c4116 Merge pull request #3257 from jakoch/patch-docufix
docu fix (removed dangling "times.")
2014-10-04 16:53:05 +01:00
Jordi Boggiano efcdb394d3 Rename *-solve-dependencies to *-dependencies-solving 2014-09-30 16:26:55 +01:00
Jordi Boggiano efcdd35cbf Damn 2014-09-30 00:39:21 +01:00
Jordi Boggiano 241627659e Fix formatting bug 2014-09-30 00:38:39 +01:00
Jordi Boggiano 1cbd1a7ba8 Examplify chars and reword, closes #3212 2014-09-30 00:37:28 +01:00
Jordi Boggiano 52308d7db6 Merge pull request #3309 from NAYZO/patch-1
Update 01-basic-usage.md
2014-09-30 00:34:36 +01:00
Jordi Boggiano 82f3576d07 Merge pull request #3310 from NAYZO/patch-2
Update 01-basic-usage.md
2014-09-30 00:33:26 +01:00
Jordi Boggiano bf6ebd11c5 Merge pull request #3271 from TomasVotruba/patch-1
typo
2014-09-30 00:31:27 +01:00
Jordi Boggiano 834f70423b Merge pull request #3215 from onewheelskyward/patch-1
Updated to reflect new tap names for php in OSX homebrew.
2014-09-30 00:28:18 +01:00
Ala Eddine Khefifi 03ee649147 Update 01-basic-usage.md 2014-09-29 11:01:02 +01:00
Ala Eddine Khefifi fc986d76c8 Update 01-basic-usage.md 2014-09-29 10:40:29 +01:00
Luis Cordova 1bc6158cd8 note special case for ~1 cases
referenced from https://github.com/symfony/symfony-docs/pull/4267/files#r18030609
2014-09-25 08:27:10 -05:00
Bastian Hofmann 2612dc7c15 fixed typo 2014-09-24 15:30:48 +02:00
Bastian Hofmann f8023cffdf renamed cache-credentials to svn-cache-credentials 2014-09-24 13:24:54 +02:00
Bastian Hofmann 204fc207fa Moved config option to not save subversion credentials to repository configuration, added documentation. 2014-09-16 15:16:55 +02:00
Tomáš Votruba 9efc4d1e9d typo 2014-09-10 17:51:02 +02:00
Jordi Boggiano 0e409a159c Add toran to docs besides satis 2014-09-10 16:05:11 +01:00
Jonathan Klein 7dadd22ea4 Fixing a typo in the scripts documentation 2014-09-05 12:21:50 -04:00
Francis Gonzales 5dd2b30b18 Windows Installation Details
Add break line
2014-09-03 10:43:13 -05:00
Francis Gonzales 33d9f917dc Windows Installation Details this closes #3186
Windows Installation Details
2014-09-03 10:38:53 -05:00
jakoch d45996111f docu fix (removed dangling "times." introduced by 22afc074a9) 2014-09-03 17:05:46 +02:00
Richard K Miller 1ee0f28e79 update documentation to work for ZSH or Bash 2014-08-29 13:50:25 -06:00
Richard K Miller 553288a384 Very tiny but necessary edit
To delete `.git` repos of submodules, `rm -rf vendor/**/.git` doesn't work, but `rm -rf vendor/*/*/.git` does
2014-08-28 21:49:57 -06:00
Tobias Tom 2dbc9447b5 Added some details about authentication handling.
This details are more or less copied directly from [Authentication management in Composer](http://seld.be/notes/authentication-management-in-composer).
2014-08-21 11:17:08 +02:00
Andrew Kreps fe33d7a347 Updated to reflect new tap names for php in OSX homebrew. 2014-08-15 11:28:18 -07:00
jakoch 9d5106e2e3 added stof's php inline example from #3190 to doc/articles/scripts.md 2014-08-06 14:54:43 +02:00
Amy Boyd 126495e3c8 Update troubeshooting.md to suggest clearing Composer's cache. 2014-07-27 20:32:16 +01:00
Jordi Boggiano 400f35efde Doc tweak 2014-07-23 19:00:59 +02:00
Jordi Boggiano e5b36827ee Improve scripts docs 2014-07-23 16:47:54 +02:00
Jordi Boggiano fb5d01d635 Tweak some page titles 2014-07-20 18:47:10 +02:00
Jordi Boggiano 22afc074a9 Add browse command to docs, add a -H flag and tweak fallback mechanism to maximize chances of opening something, refs #2445 2014-07-20 18:46:44 +02:00
Jordi Boggiano e3f32a79f3 Finalize and bring up to speed the remove command, refs #2479 2014-07-19 22:21:46 +02:00
Jordi Boggiano 70d9cad549 Merge remote-tracking branch 'pierredup/remove-command'
Conflicts:
	src/Composer/Console/Application.php
2014-07-19 21:47:28 +02:00
Michael C. 367654b81f Add note about how to put binaries in project root 2014-07-01 20:52:28 +01:00
Jordi Boggiano 449f8165ef Allow $HOME and ~ usage in all *-dir config values, fixes #3060 2014-06-29 14:47:43 +02:00
Jose Diaz-Gonzalez 5a4ead4290 Add missing tap for homebrew installation 2014-06-22 14:07:38 -04:00
Jordi Boggiano dcea95feba Update brew instructions, closes #2919 2014-06-22 10:52:33 +02:00
Jordi Boggiano 5915747a0a Merge pull request #3010 from dmoreaulf/patch-1
adding doc entry for composer/satis's PR 118
2014-06-05 15:58:23 +02:00
Jordi Boggiano 9f0b9f3544 Merge pull request #2978 from jyggen/patch-1
Updated Satis install command in docs.
2014-06-05 12:41:13 +02:00
Jordi Boggiano 44e25be06d Use inline html to work around parsedown bug, fixes composer/getcomposer.org#68 2014-06-05 09:42:52 +02:00
Jordi Boggiano 90d1b6e08a Rename basic-auth to http-basic, add docs/schema/config support, add local auth file support, add storage to auth.json, add store-auths config option, refs #1862 2014-05-27 13:50:47 +02:00
dmoreaulf f5f6e5eaac adding doc entry for composer/satis's PR 118
https://github.com/composer/satis/pull/118/commits
2014-05-23 10:05:00 +02:00
Jordi Boggiano 0c85ca426d Add code-fences to examples for syntax highlighting 2014-05-19 12:17:07 +02:00
Jonas Stendahl 868121c7b2 Updated Satis install command. 2014-05-07 17:45:37 +02:00
Jérôme Macias 4f417e3985 Add --no-check-all option to composer validate command 2014-04-30 16:28:04 +02:00
Toni Uebernickel 2c6195785d fix autoload-dev example for PSR-4
The example leads to the following error.

```
  [InvalidArgumentException]
  A non-empty PSR-4 prefix must end with a namespace separator.
```
2014-04-27 12:29:35 +02:00
Jordi Boggiano cfed93287c Remove fenced block 2014-04-16 17:23:42 +02:00
Evan-R ee6a843b8e add note for alternate download method in case curl fails 2014-04-15 04:58:44 -06:00
Jordi Boggiano f6bf7e4a7b Add dev-master example 2014-04-09 14:50:55 +02:00
Jordi Boggiano a099591735 Adjustments to unbound constraint docs 2014-04-09 14:46:32 +02:00
Jordi Boggiano 99cfb42b8f Merge remote-tracking branch 'stof/doc_unbound' 2014-04-09 14:21:21 +02:00
zeke c16f83a8c8 use php 5.5 in homebrew instructions 2014-04-01 13:07:50 -07:00
zeke 8c382d4929 forget a homebrew step that's required for php installation 2014-04-01 09:46:16 -07:00
zeke dbbe91135e update homebrew instructions 2014-04-01 09:20:11 -07:00
Jordi Boggiano 355dc67038 Tweak wording a bit 2014-03-31 16:33:11 +02:00
Haralan Dobrev aa1745ce2a Specify how ~ constraints handle pre-releases
The "next significant release" a.k.a as the tilde version constraint
would not install a pre-release (alpha, beta, RC) which is not in the same
version namespace.

But in the examples so far it was shown as `~1.2` equals `>=1.2,<2.0` which
would actually install `2.0-beta.1`, because it the pre-release is before
the `2.0` release.

See https://github.com/composer/getcomposer.org/issues/64
2014-03-30 23:33:30 +03:00
Jordi Boggiano 790a25c348 Adjust dump command, add another test, update docs, refs #1344 2014-03-01 21:21:00 +01:00
Jordi Boggiano 023ff131aa Merge remote-tracking branch 'bamarni/autoload-dev' 2014-03-01 20:28:31 +01:00
Bilal Amarni db91454a13 added an autoload-dev section 2014-02-28 00:27:03 +01:00
Jordi Boggiano 9db2a537e5 Merge remote-tracking branch 'cs278/github-otp-support' 2014-02-26 16:16:13 +01:00
Nils Adermann a80fde97d5 Make the github driver behave like git if "no-api" is specified. 2014-02-24 19:36:56 +01:00
Jordi Boggiano 5eafcf155a Merge pull request #2748 from sndpl/issue/1849
Updated the troubleshooting doc with a chapter for the proc_fork errors
2014-02-24 10:36:33 +01:00
Sandy Pleyte eed5ba7752 Updated the troubleshooting doc with a chapter for the proc_fork errors that happen on a tiny VPS with no swap space. Also added the solution provided in #1849, #1101, #945. 2014-02-24 09:40:02 +01:00
Carsten Brandt 4af421bce1 Update aliases.md
added another example to make clear how it works.

fixes #2741
2014-02-22 17:30:47 +01:00
Jordi Boggiano 9896abeb38 Doc tweaks, refs #2682 2014-02-13 16:23:53 +01:00
Jordi Boggiano e19da1435e Update docs for the new flag 2014-02-13 14:37:11 +01:00
Jordi Boggiano c7d5da89c8 Fix doc note 2014-02-06 21:15:30 +01:00
Jordi Boggiano 8dd0594983 Cleaner install instruction without curl 2014-02-06 00:40:06 +01:00
Nils Adermann 2b1a7c2ba0 Merge pull request #2640 from webflo/master
Replace %name% with %package% in 05-repositories.md
2014-02-05 18:00:53 +01:00
Chris Smith 78568b49d6 Correct use of English 2014-01-31 16:36:00 +00:00
Chris Smith 0858e96ac6 Correct capitalisation of OAuth 2014-01-31 16:33:47 +00:00
Chris Smith f1af43068c Change docs to reflect support for GitHub 2FA 2014-01-31 16:33:13 +00:00