From: Henrik Bjørnskov Date: Tue, 8 Nov 2011 10:58:02 +0000 (+0100) Subject: Add Autoloadig instructions for Composer X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=cf66a054b8fa8a8da41dd91159a43e90b1020470;p=web%2Fkonrad%2Ftwig.git Add Autoloadig instructions for Composer Add psr-0 autoload directive to composer.json for easier Autoloading when using Composer as a package management tool --- diff --git a/composer.json b/composer.json index 0105afe..eb47f6d 100644 --- a/composer.json +++ b/composer.json @@ -18,5 +18,10 @@ ], "require": { "php": ">=5.2.4" + }, + "autoload": { + "psr-0" : { + "Twig_" : "lib/" + } } }