1
0
Fork 0
Commit Graph

236 Commits (8f49166ec6bc3512404b3be49551ab2da3b50971)

Author SHA1 Message Date
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
Miodrag Tokić 12ba415f0e Fix documented Composer home variable name 2014-12-14 22:55:49 +01:00
Jordi Boggiano ca168d478b Spaces are now equivalent to comma in constraints and mean AND 2014-12-07 18:07:29 +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 fb5d01d635 Tweak some page titles 2014-07-20 18:47:10 +02:00
Jordi Boggiano 449f8165ef Allow $HOME and ~ usage in all *-dir config values, fixes #3060 2014-06-29 14:47:43 +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
Jordi Boggiano 0c85ca426d Add code-fences to examples for syntax highlighting 2014-05-19 12:17:07 +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 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
Jordi Boggiano 9896abeb38 Doc tweaks, refs #2682 2014-02-13 16:23:53 +01: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
thewilkybarkid 3c75cf59e8 Correct JSON 2014-01-30 09:08:56 +00:00
Nils Adermann 7adc41d02c Merge pull request #2605 from robertboloc/feature-config_optimize_autoload_always
Added config option to optimize the autoloader always
2014-01-20 10:10:11 -08:00
Robert Boloc 8a221854b1 changed name of the option to optimize-autoloader 2014-01-17 14:43:54 +01:00
Robert Boloc 55da519cae added information to the docs 2014-01-16 22:03:04 +01:00
Daniel Londero e776294616 Add API rate limit and two factor authentication doc 2014-01-15 18:17:31 +01:00
Jordi Boggiano 8775a89710 deprecate target-dir and update docs to recommend psr-4, refs #2459 2014-01-03 16:46:56 +01:00
Jordi Boggiano b23742e30c Merge remote-tracking branch 'donquixote/feature/psr4-complete' 2014-01-03 14:56:36 +01:00
Jordi Boggiano f85a366eb9 Finalize new autoloader-suffix config value, refs #2524, fixes #1413 2013-12-26 17:40:52 +01:00
Andreas Hennings 39c09d5192 Add psr-4 stuff in a few more places. 2013-12-14 16:28:27 +01:00
Elan Ruusamäe b92bce5569 Minor typo fix
introduced from 6ce0bf7cbf with #2314
2013-11-13 09:15:08 +02:00
Jordi Boggiano f134e09f45 Add stronger warning in docs about #<ref> hack, refs #2410 2013-11-11 14:41:21 +01:00
Thomas Szteliga 36712386f9 Composer supports four types. 2013-11-08 08:17:11 +01:00
Jordi Boggiano 7148b22414 Add github-domains config value for GitHub Enterprise setups, fixes #728
Signed-off-by: Gennady Feldman <gena01@gmail.com>
2013-10-28 12:40:20 -04:00
Jordi Boggiano 6ce0bf7cbf Update docs for #2314 2013-10-16 12:17:18 +02:00
Nils Adermann 01a08a2ff3 As preparation for composer plugins, rename custom installers to plugins 2013-08-30 12:51:40 +02:00
jonathan bensaid 6aefe6d8ad Describe stability flags more consistently 2013-08-23 12:18:09 +03:00
Jordi Boggiano eb331cbcbe Describe tag names more consistently, fixes #2170 2013-08-13 14:47:19 +02:00
Igor Wiedler 334c25fbbf [docs] Correct note about require-dev not being installed on install
It's now installed by default.
2013-08-07 21:11:52 +02:00
Jordi Boggiano 542edbdeab Fix typo, fixes #2126 2013-07-29 21:44:16 +02:00
Jordi Boggiano 536685fa9c Make more obvious 2013-07-01 00:14:57 +02:00
erikmaarten 9d10f5c6f0 Update 04-schema.md
Added example line for how to enable prefer-stable. Some other examples in the document show options enabled using the string "true" and since this is not the case for prefer-stable I added an example to avoid confusion.
2013-06-30 21:00:16 +09:00
Jordi Boggiano e68d455c5c Remove the http protocol from github-protocols, refs #1955 2013-06-28 19:16:12 +02:00
Matthias Pigulla 6232a65a35 Update docs to point out the problem with range constraints for conflict links. 2013-06-20 23:32:59 +02:00
Jordi Boggiano b4ddfabd73 Clarify language 2013-06-03 14:14:07 +02:00
Drak 4f18f8242c Update 04-schema.md 2013-05-13 15:03:42 +02:00
Drak 38f13f8a44 Update 04-schema.md 2013-05-13 15:02:48 +02:00
Drak 95b2ddb33e Make namespaces much more explicit 2013-05-13 14:58:11 +02:00
Douglas Greenshields f4af32deb7 small English correction in doc 2013-04-11 12:35:41 +02:00
Jordi Boggiano a26bababe0 Add project type to docs, fixes #1142 2013-04-11 11:53:19 +02:00
Jordi Boggiano a112231c55 Add prefer-stable docs 2013-04-02 18:40:47 +02:00
Nils Adermann afcdad4b23 Define an option to exclude files in the archive command 2013-03-28 12:49:52 +01:00
Miklós Márton 72a4146383 Scratch 'prefer-source'; 'preferred-install' is the bee's knees 2013-03-05 12:56:09 +01:00
Miklós Márton c92c69b10e Config option 'prefer-source' added to schema, refs #553 2013-03-04 20:23:55 +01:00
Jordi Boggiano c32470c7df Update docs, fix tests 2013-03-03 17:59:07 +01:00
Jordi Boggiano f06c0cb580 Code reorgs and make bool values real booleans, refs #1637 2013-03-01 23:47:24 +01:00
Ricard Clau 48ac383599 initial steps with new config value, implementation of discard changes for git and svn 2013-02-28 19:02:19 +01:00
Jordi Boggiano e43d0b5a5b Allow for "proprietary" as license identifier 2013-02-24 18:33:06 +01:00
Jordi Boggiano 94e99b9c8b Update docs, config command and schema with all the config values 2013-02-12 11:16:52 +01:00
David Zuelke 7e1f81dc1e rename vendor-bins.md to vendor-binaries.md 2013-01-14 19:42:12 +01:00
David Zuelke e423c69d8e Rename "vendor bins" to "vendor binaries"
Because a binary is not a receptacle :) Less confusing this way.
2013-01-14 19:01:09 +01:00
pauliwang cc043c373f Update doc/04-schema.md
Probably a typo (blocked -> locked)
2013-01-04 13:43:00 -08:00
Jordi Boggiano 3a0270147a Change confusing name 2012-12-10 16:28:59 +01:00
Jordi Boggiano aefe3a0b11 Add support for .inc files in classmap, fixes #1396 2012-12-08 21:54:51 +01:00
Jordi Boggiano 35afd0a78e Add github-oauth config documentation, fixes #1405 2012-12-08 20:53:24 +01:00
Jordi Boggiano d50120ae85 Add docs about new cache dirs 2012-11-23 00:28:47 +01:00
Jordi Boggiano b05a554883 Add cache-files-ttl setting, and docs for the cache 2012-11-11 15:31:50 +01:00
Igor Wiedler f089521919 Link to the aliases article from schema and repositories docs
Closes #1179.
2012-11-07 13:11:18 +01:00
Jordi Boggiano cac0e71d45 Add sub-sections for autoload docs 2012-10-24 14:31:59 +02:00
Sander Marechal 3e63ebf7fe Add stream context options documetation 2012-10-03 20:32:00 +02:00
Jordi Boggiano ab1c7fbb9b Clarify docs about stability, fixes #1094 2012-09-10 17:18:22 +02:00
Thomas Tourlourat a836f82ddc Missing alpha example
Also missing the "-" for alphaN.
2012-09-10 11:08:40 +03:00
Jordi Boggiano 7023767501 Update docs and schema for new config option 2012-09-08 00:44:19 +02:00
Tom Klingenberg e3cbe3fb1e Correction of SPDX license identifier examples
The more common LGPL version number is 2.1 not 2.0, this is a minor mistake I made and should be corrected now.
2012-08-18 08:24:43 +02:00
Igor Wiedler fc2e9e48e8 Clarify that root package depends on context 2012-07-20 20:38:46 +02:00
Michael McAndrew 91d399148b seems to me like "Out of the box, composer supports three types" (not two types) of package type. 2012-07-11 14:39:46 +02:00
Jordi Boggiano 5325aef8fe Rename brackets to parenthesis for clarity, fixes #888 2012-07-10 12:37:03 +03:00
prehfeldt 8fde6edfdf fixed typos in doc 2012-07-06 12:40:43 +02:00
Rob Loach 12cf2441e0 Fix by @stof: Forgot RC as a minimum-stability flag. #r1101718 2012-07-04 17:26:59 -03:00
Rob Loach 4f922ffa28 Update minimum-stability documentation 2012-07-04 10:37:28 -04:00
Jordi Boggiano 1923906bfc Clarify require-dev is only for root 2012-07-03 09:17:09 +02:00
Jordi Boggiano db7f25baaf Add note about version and packagist 2012-06-14 14:59:11 +02:00
Nils Adermann 8a9c51c83e Merge remote-tracking branch 'github-beberlei/AutoloadFunctions' 2012-06-11 12:49:12 +02:00
Jordi Boggiano 9f9a0884b1 Fix typo 2012-06-07 12:25:05 +02:00
Nick Lombard 23548ffc03 Removed the notice as @stof's ensure's it's untrue. 2012-06-04 11:59:15 +03:00
Nick Lombard 365060f0cb More autoload documentation.
As discovered through discussions at composer/composer#763
Resubmitted after travis complained, lets try again.
2012-06-04 06:15:59 +03:00
Benjamin Eberlei 5c5e962b5a Add Files Autoloading key. This is a necessary feature to allow purely or partly functional libraries to be "autoloadable" by composer by calling require_once on every file in the "autoload"."files" list. 2012-06-02 18:18:33 +02:00
Jordi Boggiano 8c16c1bbef Update schema and add docs for support 2012-05-28 01:57:12 +02:00
dbu 9173d4384e explaining behaviour when require-dev conflicts with require. fix #720 2012-05-21 18:41:20 +02:00
Jordi Boggiano d7608bcddd Added docs for new reference feature 2012-05-17 10:08:48 +02:00
Jordi Boggiano 8af189e300 Remove bad chars from docs 2012-05-12 18:42:35 +02:00
Nils Adermann 9c9391fc43 Clarify standard replace use case 2012-05-12 18:28:38 +02:00
Nils Adermann 7c7cac61b6 Merge remote-tracking branch 'github-seldaek/stability'
* github-seldaek/stability:
  Add stability docs
  Add test for Pool handling and refactor a couple things
  Add support for stabilities in lock file
  Infer stability flags for requirements that have an explicit version required of a lower stability
  Add InstalledArrayRepository to make sure the root package is not purged by the Pool because of a lower stability
  Basic handling of stability flags
  Add list of stabilities to base package
  Add minimum-stability flag on root package to filter packages by stability
  Add CompositeRepo::getRepositories
  Add package stability
2012-05-12 18:28:32 +02:00
Jordi Boggiano 4cab4b46e4 Merge remote-tracking branch 'ktomk/patch-1' 2012-05-12 16:24:21 +02:00
Jordi Boggiano 44fdc05e45 Add stability docs 2012-05-12 16:14:44 +02:00
Jordi Boggiano 1709d6a6c7 Clarify deprecation of include-path 2012-05-12 12:13:15 +02:00
Tom Klingenberg 74ca58bcb6 Use of SPDX license identifiers. 2012-05-12 10:50:48 +02:00
Jordi Boggiano 14f7d10478 Fix typos 2012-05-01 16:03:46 +02:00
Michael Cullum 0edc94cdce Adding role to author information 2012-05-01 16:03:44 +02:00
Jordi Boggiano 939c745a9a Improvements to autoload docs 2012-04-27 10:01:01 +02:00
Igor Wiedler 21b39f8e87 [docs] Clarify that there is no cross-repo leakage with notify 2012-04-26 19:00:55 +02:00
Igor Wiedler f519636094 [docs] Document the notify-on-install config option 2012-04-26 17:19:07 +02:00
Jordi Boggiano 8d4f8543fc Update docs 2012-04-14 23:52:52 +02:00
Igor Wiedler be9ca486a6 [improve-docs] List link types in link types reference title 2012-04-13 15:26:15 +02:00
Igor Wiedler 3cccc29b55 [improve-docs] Explain what the root package is, refs #500 2012-04-13 14:35:13 +02:00
Igor Wiedler 99c90cde5a [improve-docs] Specify that config and repositories are root-only, closes #500 2012-04-13 12:41:16 +02:00
Igor Wiedler 6c4f47da74 [improve-docs] Remove "Package root" from schema chapter 2012-04-13 12:37:15 +02:00
Igor Wiedler a2eeeab79a [improve-docs] Mention classmap autoloading in basic-usage 2012-04-13 12:06:53 +02:00
Jordi Boggiano b3b6b03aff Fix doc typo 2012-04-12 10:04:45 +02:00
Jordi Boggiano f21ce43a52 Crosslinking 2012-04-08 19:13:00 +02:00
Jordi Boggiano 3c07b4338a Rename include-paths to include-path, add deprecated warnings, only generate file if it is needed 2012-04-08 17:42:57 +02:00
Christoph Hochstrasser 5ec267ccf4 Added basic docs to schema docs. 2012-04-04 10:40:00 +02:00
Jordi Boggiano 30cfb69739 Add support for mapping a namespace prefix onto many dirs in the autoload config 2012-03-28 17:09:33 +02:00
Romain Neutron 6844d7b572 Removed scripts documentation duplication, refactor to the dedicated article page 2012-03-27 00:59:08 +02:00
Jordi Boggiano f0a0d7ffa7 Add docs for metapackages 2012-03-24 18:20:27 +01:00
Jordi Boggiano 502048bfd8 Fix schema nesting 2012-03-18 11:49:24 +01:00
Maks 099823c369 Typo 2012-03-17 08:49:04 +01:00
Jordi Boggiano 7c97abec8c Update docs on repo order 2012-03-15 01:13:10 +01:00
Jordi Boggiano 27eb249aab Merge remote-tracking branch 'beberlei/ClassMaps' 2012-03-10 01:22:40 +01:00
Jordi Boggiano f3c4b8661d finish updating links to .md 2012-03-08 00:18:03 +01:00
Travis Northcutt cee5fed25f added prev/next links to docs 2012-03-07 23:36:27 +01:00
Jordi Boggiano c27bdad728 Merge pull request #402 from igorw/packagist-false-docs
[docs] move docs on disabling packagist to repositories chapter
2012-03-06 15:29:03 -08:00
Igor Wiedler 4da3d1fac0 [docs] move docs on disabling packagist to repositories chapter, fixes #362 2012-03-07 00:18:29 +01:00
Igor Wiedler 364afaa16a [docs] fix some links to the repositories page 2012-03-06 23:54:12 +01:00
Benjamin Eberlei 590ee419bd Fix docs 2012-03-05 14:21:51 +01:00
Benjamin Eberlei 7855eda57a Explain classmap generation in documentation 2012-03-05 14:13:06 +01:00
Jordi Boggiano 202cfb4fb9 Some docs update 2012-02-29 15:57:16 +01:00
Jordi Boggiano 605fae42a6 Remove fenced blocks in docs 2012-02-29 15:56:53 +01:00
Jordi Boggiano 8ba76fe6d2 Boost default timeout to 5min 2012-02-27 11:35:26 +01:00
Jordi Boggiano f101ec16f6 Add process-timeout docs 2012-02-27 09:32:59 +01:00
Igor Wiedler 672e7d85a1 [docs] re-word some things, document env vars 2012-02-26 12:40:35 +01:00
Michael Cullum 0accac7974 Fix links broken due to newlines. 2012-02-20 22:58:13 +00:00
Jordi Boggiano b8f200b0f2 Fix link 2012-02-20 16:53:49 +01:00
Jordi Boggiano a71f9c71f0 Move schema into res folder 2012-02-20 16:35:13 +01:00
Jordi Boggiano 38ef1dcb24 Doc fixes 2012-02-20 16:33:21 +01:00
Igor Wiedler b71db7607d [docs] fix smarty source reference 2012-02-20 16:06:28 +01:00
Igor Wiedler c42e37037a [docs] wrap all lines to 80 chars 2012-02-20 11:08:18 +01:00
Igor Wiedler cabe1c2949 [docs] add vcs repo section to repos chapter 2012-02-20 01:04:35 +01:00
Igor Wiedler b6079f73ba [docs] beginning of the repositories chapter 2012-02-19 22:31:04 +01:00
Igor Wiedler f4511271a8 [docs] schema chapter describing composer.json 2012-02-19 21:07:30 +01:00