This video will cover the details


Just a few notes though is a better place for getting started overall.


This lives in the root of my application which includes the startup file for the application.


$core = require_once(__DIR__.'/bootstrap/start.php');
$boris = new \Boris\Boris('base_app> ');
$boris->setLocal(array('core' => $core));

The start.php file I am using for the core startup needed by index.php, this and later a command line class to run the queue daemon and other things

require __DIR__.'/../bootstrap/autoload.php';

$core = new \App\Core();

if (file_exists(__DIR__ . '/../.env')) {

$paths = include(__DIR__.'/paths.php');




$core->getApp()->register(new Silex\Provider\MonologServiceProvider(), array(
    'monolog.logfile' =>  $core->getStoragePath() . '/logs/core.log',


return $core;

So index.php like .borisrc calls to this

$core = require_once __DIR__.'/../bootstrap/start.php';

$core = require_once __DIR__.'/../app/routes.php';


At this point, as seen in the video we can interact with the core app and other methods!