nassau / silex-whoops
filp/whoops service provider for silex/silex
Installs: 1 500
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- filp/whoops: ~1.1
- silex/silex: ~2.0@dev
This package is auto-updated.
Last update: 2024-10-23 20:06:48 UTC
README
Installation
In your silex app root:
composer require nassau/silex-whoops@dev-master
And then register it in your code:
/** @var \Pimple\Container $app */
$app->register(new \Nassau\SilexWhoops\WhoopsServiceProvider);
It requires silex/silex:~2.0@dev
. For silex version ~1.0 the service provider is bundled with filp/whoops
package.
Configuration
Define your own handler by overriding the whoops.error_page_handler
key in the container.
See also: filp/whoops