saeven/zf2-whoops

PHP whoops error on ZF2 framework

Maintainers

👁 Saeven

Package info

github.com/Saeven/zf2-whoops

Homepage

Type:module

pkg:composer/saeven/zf2-whoops

Statistics

Installs: 999

Dependents: 0

Suggesters: 0

Stars: 0

dev-master 2016-01-22 08:48 UTC

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 86fd73778e277c77deccda3ea8a1c7b4b689097f

This package is auto-updated.

Last update: 2026-06-14 21:52:34 UTC


README

ZF2 module, integrated whoops

👁 Whoops!

whoops is an error handler base/framework for PHP. Out-of-the-box, it provides a pretty error interface that helps you debug your web projects, but at heart it's a simple yet powerful stacked error handling system.

Module installation

  1. cd my/project/directory

  2. create a composer.json file with following contents:

    {
     "require": {
     "ghislainf/zf2-whoops": "dev-master"
     }
    }
  3. install composer via curl -s http://getcomposer.org/installer | php (on windows, download http://getcomposer.org/installer and execute it with PHP)

  4. run php composer.phar install

  5. open my/project/directory/configs/application.config.php and add the following key to your modules, :

    'Zf2Whoops', // must be added as the first module
  6. copy config/zf2-whoops.local.php in my/project/directory/config/autoload

  7. edit my/project/directory/config/autoload/zf2-whoops.local.php