commit
4b70cc2623
|
@ -136,8 +136,8 @@ packagist.
|
||||||
|
|
||||||
## Autoloading
|
## Autoloading
|
||||||
|
|
||||||
For libraries that follow the [PSR-0](https://github.com/php-fig/fig-
|
For libraries that follow the [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md)
|
||||||
standards/blob/master/accepted/PSR-0.md) naming standard, composer generates a
|
naming standard, composer generates a
|
||||||
`vendor/.composer/autoload.php` file for autoloading. You can simply include
|
`vendor/.composer/autoload.php` file for autoloading. You can simply include
|
||||||
this file and you will get autoloading for free.
|
this file and you will get autoloading for free.
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,8 @@ This chapter will explain all of the options available in `composer.json`.
|
||||||
|
|
||||||
We have a [JSON schema](http://json-schema.org) that documents the format and
|
We have a [JSON schema](http://json-schema.org) that documents the format and
|
||||||
can also be used to validate your `composer.json`. In fact, it is used by the
|
can also be used to validate your `composer.json`. In fact, it is used by the
|
||||||
`validate` command. You can find it at: [`Resources/composer-
|
`validate` command. You can find it at:
|
||||||
schema.json`](https://github.com/composer/composer/blob/master/res
|
[`Resources/composer-schema.json`](https://github.com/composer/composer/blob/master/res/composer-schema.json).
|
||||||
/composer-schema.json).
|
|
||||||
|
|
||||||
## Package root
|
## Package root
|
||||||
|
|
||||||
|
@ -188,8 +187,8 @@ Optional.
|
||||||
|
|
||||||
Autoload mapping for a PHP autoloader.
|
Autoload mapping for a PHP autoloader.
|
||||||
|
|
||||||
Currently only [PSR-0](https://github.com/php-fig/fig-
|
Currently only [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md)
|
||||||
standards/blob/master/accepted/PSR-0.md) autoloading is supported. Under the
|
autoloading is supported. Under the
|
||||||
`psr-0` key you define a mapping from namespaces to paths, relative to the
|
`psr-0` key you define a mapping from namespaces to paths, relative to the
|
||||||
package root.
|
package root.
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ The most important guidelines are described as follows:
|
||||||
|
|
||||||
## IRC / mailing list
|
## IRC / mailing list
|
||||||
|
|
||||||
The developer mailing list is on [google groups](http://groups.google.com/group
|
The developer mailing list is on [google groups](http://groups.google.com/group/composer-dev/)
|
||||||
/composer-dev) IRC channels are available for discussion as well, on
|
IRC channels are available for discussion as well, on
|
||||||
irc.freenode.org [#composer](irc://irc.freenode.org/composer) for users and
|
irc.freenode.org [#composer](irc://irc.freenode.org/composer) for users and
|
||||||
[#composer-dev](irc://irc.freenode.org/composer-dev) for development.
|
[#composer-dev](irc://irc.freenode.org/composer-dev) for development.
|
||||||
|
|
Loading…
Reference in New Issue