1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Update installation notes to recommend composer

This commit is contained in:
Jordi Boggiano
2012-04-22 18:05:19 +02:00
parent 18598c08f3
commit 365a5fc175

View File

@@ -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
--------------------