added note on composer installation master
authorChristian Grobmeier <cg@grobmeier.de>
Fri, 7 Jun 2013 17:49:39 +0000 (19:49 +0200)
committerChristian Grobmeier <cg@grobmeier.de>
Fri, 7 Jun 2013 17:49:39 +0000 (19:49 +0200)
src/site/xdoc/install.xml

index f0b5b52..82572c2 100644 (file)
@@ -60,6 +60,30 @@ pear install log4php/Apache_log4php
 </pre>\r
                                \r
                        </subsection>\r
+\r
+                       <subsection name="From Composer">\r
+                       \r
+                               <p>Apache log4php is available from <a href="https://packagist.org/packages/apache/log4php">Packagist</a> via <a href="http://getcomposer.org/">Composer</a>. Please note: this channel is not an official Apache Software Foundation channel,\r
+                               but maintained from Apache log4php committers.</p>\r
+                               \r
+                               <p>To with compoers, add the following lines to composer.json:</p>\r
+                       \r
+<pre>\r
+"require": {\r
+    "apache/log4php": "2.3.0"\r
+}\r
+</pre>\r
+                               <p>Then run:</p>\r
+\r
+<pre>\r
+php composer.phar install\r
+</pre>\r
+                               <p>Or, if you have composer installed as binary:</p>\r
+\r
+<pre>\r
+composer install\r
+</pre>                                                         \r
+                       </subsection>\r
                </section>\r
        </body>\r
 </document>\r