nassau/silex-whoops

filp/whoops service provider for silex/silex

0.1 2015-02-13 11:40 UTC

This package is auto-updated.

Last update: 2024-11-23 20:20:29 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