PHP code example of herrera-io / silex-bootstrap
1. Go to this page and download the library: Download herrera-io/silex-bootstrap library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
herrera-io / silex-bootstrap example snippets
use Herrera\Silex\Application;
/**
* My custom version of the bootstrap application class.
*
* @author Example User <[email protected]>
*/
class MyApplication extends Application
{
/**
* {@override}
*/
protected function registerDefaultServices()
{
parent::registerDefaultServices();
// my custom registrations
}
}