Skip to content

inditel/zf2-whoops

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZF2 module, integrated Whoops and support for Zf2 Logger


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": {
            "inditel/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.config.php in my/project/directory/config/autoload

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

About

PHP whoops error on ZF2 framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%