mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 05:07:36 +02:00
Update installation notes to recommend composer
This commit is contained in:
10
doc/usage.md
10
doc/usage.md
@@ -4,12 +4,12 @@ Using Monolog
|
||||
Installation
|
||||
------------
|
||||
|
||||
To install Monolog, simply get the code (from github or through PEAR) and
|
||||
configure an autoloader for the Monolog namespace.
|
||||
Monolog is available on Packagist ([monolog/monolog](http://packagist.org/packages/monolog/monolog))
|
||||
and as such installable via [Composer](getcomposer.org/).
|
||||
|
||||
Monolog does not provide its own autoloader but follows the PSR-0 convention,
|
||||
thus allowing you to use any compatible autoloader. You could for instance use
|
||||
the [Symfony2 ClassLoader component](https://github.com/symfony/ClassLoader).
|
||||
If you do not use Composer, you can grab the code from GitHub, and use any
|
||||
PSR-0 compatible autoloader (e.g. the [Symfony2 ClassLoader component](https://github.com/symfony/ClassLoader))
|
||||
to load Monolog classes.
|
||||
|
||||
Configuring a logger
|
||||
--------------------
|
||||
|
Reference in New Issue
Block a user