gourmet/whoops

Whoops for CakePHP 3

Maintainers

Package info

github.com/gourmet/whoops

Homepage

Issues

Type:cakephp-plugin

pkg:composer/gourmet/whoops

Statistics

Installs: 37 935

Dependents: 2

Suggesters: 0

Stars: 24

v1.1.0 2016-08-02 14:27 UTC

This package is auto-updated.

Last update: 2026-02-28 04:26:25 UTC


README

Build Status Coverage Status Total Downloads Latest Stable Version

Whoops

Built to seamlessly integrate Whoops with CakePHP 3.

Install

Using Composer:

composer require gourmet/whoops:~1.0

As this plugin only offers a Whoops handler for CakePHP, there is no need to enable it per se. You only need to configure that handler instead of Cake's own ErrorHandler by replacing the following line in bootstrap.php:

(new ErrorHandler(Configure::read('Error')))->register();

with the Whoops handler:

(new \Gourmet\Whoops\Error\WhoopsHandler(Configure::read('Error')))->register();

That's it!

License

Copyright (c)2015, Jad Bitar and licensed under The MIT License.