From 365a5fc1756720405aae67db61ff851ea512a28b Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 22 Apr 2012 18:05:19 +0200 Subject: [PATCH] Update installation notes to recommend composer --- doc/usage.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/usage.md b/doc/usage.md index 4e55455f..3819a02f 100644 --- a/doc/usage.md +++ b/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 --------------------