<?php /** * Created by PhpStorm. * User: robin * Date: 5/29/16 * Time: 2:59 PM */ use Luticate\Utils\Controller\LuticateApplication; $json = file_get_contents(__DIR__ . '/config.json'); $config = json_decode($json, true); $app = new LuticateApplication($config); $app->addDatabaseProvider(\Luticate\Utils\DataAccess\LuDataAccess::class);