Add Autoloadig instructions for Composer
authorHenrik Bjørnskov <henrik@bearwoods.dk>
Tue, 8 Nov 2011 10:58:02 +0000 (11:58 +0100)
committerHenrik Bjørnskov <henrik@bearwoods.dk>
Tue, 8 Nov 2011 10:58:02 +0000 (11:58 +0100)
Add psr-0 autoload directive to composer.json for easier Autoloading
when using Composer as a package management tool

composer.json

index 0105afe..eb47f6d 100644 (file)
     ],
     "require": {
         "php": ">=5.2.4"
+    },
+    "autoload": {
+        "psr-0" : {
+            "Twig_" : "lib/"
+        }
     }
 }