PHP code example of gluephp / glue-whoops
1. Go to this page and download the library: Download gluephp/glue-whoops 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/ */
gluephp / glue-whoops example snippets
$app = new Glue\App;
$app->config->override([
'debug' => true,
]);
$app->register(
new Glue\Whoops\ServiceProvider()
);
$whoops = $app->make('Whoops\Run');