dev-master
9999999-devUse whoops in Glue
MIT
The Requires
- php >=5.5.0
- filp/whoops 2.1.*
by Magnus Eriksson
dev-develop
dev-developUse whoops in Glue
MIT
The Requires
- filp/whoops 2.1.*
- php >=5.5.0
by Magnus Eriksson
Use whoops in Glue
Use filp/whoops with gluephp/glue, (*1)
Use Composer:, (*2)
$ composer require gluephp/glue-whoops
$app = new Glue\App; $app->config->override([ 'debug' => true, ]);
The debug
settings isn't specifically for Whoops, but if debug is false, Whoops will be disabled since we don't want to use it in production., (*3)
$app->register( new Glue\Whoops\ServiceProvider() );
Once the service provider is registered, you can fetch the Whoops instance with:, (*4)
$whoops = $app->make('Whoops\Run');
Use whoops in Glue
MIT
Use whoops in Glue
MIT