diff --git a/index.php b/index.php index d322a05..f2479ff 100644 --- a/index.php +++ b/index.php @@ -1,7 +1,8 @@ addPsr4('m8rge\\', __DIR__ . '/src'); +/** @var \Composer\Autoload\ClassLoader $autoLoader */ +$autoLoader = require_once __DIR__ . '/vendor/autoload.php'; +$autoLoader->setPsr4('m8rge\\', __DIR__ . '/src'); $app = new Silly\Application('swagger2slate', '@version@'); $containerBuilder = new \DI\ContainerBuilder();