1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 21:26:43 +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 Installation
------------ ------------
To install Monolog, simply get the code (from github or through PEAR) and Monolog is available on Packagist ([monolog/monolog](http://packagist.org/packages/monolog/monolog))
configure an autoloader for the Monolog namespace. and as such installable via [Composer](getcomposer.org/).
Monolog does not provide its own autoloader but follows the PSR-0 convention, If you do not use Composer, you can grab the code from GitHub, and use any
thus allowing you to use any compatible autoloader. You could for instance use PSR-0 compatible autoloader (e.g. the [Symfony2 ClassLoader component](https://github.com/symfony/ClassLoader))
the [Symfony2 ClassLoader component](https://github.com/symfony/ClassLoader). to load Monolog classes.
Configuring a logger Configuring a logger
-------------------- --------------------