https://github.com/ghislainf/zf2-whoops
PHP whoops error on ZF2 framework
https://github.com/ghislainf/zf2-whoops
Last synced: 6 months ago
JSON representation
PHP whoops error on ZF2 framework
- Host: GitHub
- URL: https://github.com/ghislainf/zf2-whoops
- Owner: ghislainf
- Created: 2013-04-24T01:02:53.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-10-25T12:48:23.000Z (over 7 years ago)
- Last Synced: 2024-11-14T13:57:35.879Z (6 months ago)
- Language: PHP
- Homepage: https://github.com/filp/whoops
- Size: 22.5 KB
- Stars: 58
- Watchers: 9
- Forks: 10
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-zf - zf2-whoops - PHP whoops error on ZF2 framework. (Uncategorized / Uncategorized)
README
ZF2 module, integrated [whoops](https://github.com/filp/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:```json
{
"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`, :```php
'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`