Explorar el Código

Merge pull request #236 from peterkokot/patch-docs

Composer installation info added
Jordi Boggiano hace 12 años
padre
commit
ca18e81f79
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      doc/usage.md

+ 4 - 0
doc/usage.md

@@ -7,6 +7,10 @@ Installation
 Monolog is available on Packagist ([monolog/monolog](http://packagist.org/packages/monolog/monolog))
 Monolog is available on Packagist ([monolog/monolog](http://packagist.org/packages/monolog/monolog))
 and as such installable via [Composer](http://getcomposer.org/).
 and as such installable via [Composer](http://getcomposer.org/).
 
 
+```bash
+php composer.phar require monolog/monolog '~1.4'
+```
+
 If you do not use Composer, you can grab the code from GitHub, and use any
 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))
 PSR-0 compatible autoloader (e.g. the [Symfony2 ClassLoader component](https://github.com/symfony/ClassLoader))
 to load Monolog classes.
 to load Monolog classes.