To make your application production ready you need to make these steps:
Then you need to build your app:
// ensure to include autoload file require_once __DIR__ . '/vendor/autoload.php'; // get the config for renderer $config = require($configFile); // get the public config $publicConfig = require($publicConfigFile); // include routes require 'path/to/routes'; // call init App::init($config, $publicConfig); // call compile App::getEngine()->compile();
And that’s it.