Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 51 lines (41 sloc) 1.44 KB
#!/usr/bin/env php
<?php
/*
* --------------------------------------------------------------------------
* Register auto loaders
* --------------------------------------------------------------------------
*
* Add registered class loaders required for our application.
*
*/
require __DIR__ . '/bootstrap/autoload.php';
/*
* --------------------------------------------------------------------------
* Initialize SideKit library
* --------------------------------------------------------------------------
*
* This step is required *prior* adding the application script.
*
*/
require __DIR__ . '/bootstrap/sidekit.php';
/*
* --------------------------------------------------------------------------
* Initialize custom aliases
* --------------------------------------------------------------------------
*
* Add custom aliases to the application. Added after sidekit to take
* advantage of its loaded configuration values
*/
require __DIR__ . '/bootstrap/aliases.php';
/*
* --------------------------------------------------------------------------
* Configure and Go!
* --------------------------------------------------------------------------
*
* Bootstrap the configuration processes and get and Application ready to use.
* Applying configuration details in a different file allow us to free up
* unnecessary code on the entry script.
*/
$app = require __DIR__ . '/bootstrap/console.php';
$exitCode = $app->run();
exit($exitCode);
You can’t perform that action at this time.