ghislainf / zf2-whoops
PHP whoops error on ZF2 framework
Installs: 377 532
Dependents: 1
Suggesters: 0
Security: 0
Stars: 58
Watchers: 8
Forks: 10
Open Issues: 6
Type:module
pkg:composer/ghislainf/zf2-whoops
Requires
- php: >=5.3.3
- filp/whoops: 2.*
- zendframework/zend-config: *
- zendframework/zend-console: *
- zendframework/zend-eventmanager: *
- zendframework/zend-mvc: *
This package is not auto-updated.
Last update: 2025-10-25 20:26:52 UTC
README
ZF2 module, integrated 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
- 
cd my/project/directory
- 
create a composer.jsonfile with following contents:{ "require": { "ghislainf/zf2-whoops": "dev-master" } }
- 
install composer via curl -s http://getcomposer.org/installer | php(on windows, download http://getcomposer.org/installer and execute it with PHP)
- 
run php composer.phar install
- 
open my/project/directory/configs/application.config.phpand add the following key to yourmodules, :'Zf2Whoops', // must be added as the first module 
- 
copy config/zf2-whoops.local.phpinmy/project/directory/config/autoload
- 
edit my/project/directory/config/autoload/zf2-whoops.local.php