PHPackages                             ppito/zf3-whoops - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. ppito/zf3-whoops

Abandoned → [ppito/laminas-whoops](/?search=ppito%2Flaminas-whoops)ArchivedModule[Debugging &amp; Profiling](/categories/debugging)

ppito/zf3-whoops
================

ZF3-Whoops, integrated whoops in ZF3 Framework

1.3.2(7y ago)1171.5k3MITPHPPHP ^5.5.9 || ^7.0

Since Nov 13Pushed 7y ago2 watchersCompare

[ Source](https://github.com/Ppito/zf3-whoops)[ Packagist](https://packagist.org/packages/ppito/zf3-whoops)[ Docs](https://github.com/ppito/zf3-whoops)[ RSS](/packages/ppito-zf3-whoops/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (4)Versions (7)Used By (0)

ZF3-Whoops, integrated [whoops](https://github.com/filp/whoops) in Zend Framework 3
===================================================================================

[](#zf3-whoops-integrated-whoops-in-zend-framework-3)

---

[![Whoops!](https://camo.githubusercontent.com/47bab97a45fae9600d0d372f9647930e9ea665d06076085eda3a848235902878/687474703a2f2f692e696d6775722e636f6d2f305651706539362e706e67)](https://camo.githubusercontent.com/47bab97a45fae9600d0d372f9647930e9ea665d06076085eda3a848235902878/687474703a2f2f692e696d6775722e636f6d2f305651706539362e706e67)

**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.

Table of Contents
=================

[](#table-of-contents)

- [Module installation](#module-installation)
- [Features](#features)
    - [Render View Manager - Twig Support](#render-view-manager---twig-support)
    - [Module Visibility Manager](#module-visibility-manager)
- [License](#license)

Module installation
===================

[](#module-installation)

1. `cd my/project/directory`
2. create a `composer.json` file with following contents:

    ```
    {
        "require": {
            "ppito/zf3-whoops": "^1.3"
        }
    }
    ```
3. install composer via `curl -s http://getcomposer.org/installer | php` (on windows, download  and execute it with PHP)
4. run `php composer.phar install`
5. open `my/project/directory/configs/modules.config.php` and add the following key :

    ```
    'WhoopsErrorHandler', // must be added as the first module
    ```
6. optional : copy `config/module.config.php` in `my/project/directory/config/autoload/zf3-whoops.local.php`
7. optional : edit `my/project/directory/config/autoload/zf3-whoops.local.php`

Features
========

[](#features)

### Render View Manager - Twig Support

[](#render-view-manager---twig-support)

###### (zf3-whoops &gt;= 1.2.0)

[](#zf3-whoops--120)

By default this module use the simple php render, but you can now specify your favorite render.

##### Usage :

[](#usage-)

`Twig render` has been supported, you just need to change the `template_render` configuration:

```
'template_render' => 'zf3_whoops/twig_error',
```

### Module Visibility Manager

[](#module-visibility-manager)

###### (zf3-whoops &gt;= 1.3.0)

[](#zf3-whoops--130)

It is now possible to manage the module loading by implement your own rules. For example, the module can be loaded only for the admin users or only for dev&amp;preprod environments.

##### Usage :

[](#usage--1)

- Create your own class by implement the interface [VisibilityServiceInterface](src/Service/VisibilityServiceInterface.php) (or the abstract [VisibilityServiceAbstract](src/Service/VisibilityServiceAbstract.php))
    - @see example [VisibilityService.visibility-example.php](src/Service/VisibilityService.visibility-example.php).
- Change the `visibility_service_name` configuration to specify the name of your class.
    - @see example [module.config.visibility-example.php](config/module.config.visibility-example.php).

    ```
    'visibility_service_name' => Application\Service\VisibilityService::class,
    ```

License
=======

[](#license)

**ppito/zf3-whoops** is licensed under the MIT License - See the [LICENSE](LICENSE.md) file for details.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~179 days

Recently: every ~223 days

Total

6

Last Release

2565d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/344f6c54cd41783a9a9fc19f7cd3bcfc841ceca784a42e85957bc9f1f9f0746d?d=identicon)[Ppito](/maintainers/Ppito)

---

Top Contributors

[![Ppito](https://avatars.githubusercontent.com/u/1479748?v=4)](https://github.com/Ppito "Ppito (34 commits)")

---

Tags

phptwig-supportwhoopszendframeworkwhoopszf3php errorZend Framework 3

### Embed Badge

![Health badge](/badges/ppito-zf3-whoops/health.svg)

```
[![Health](https://phpackages.com/badges/ppito-zf3-whoops/health.svg)](https://phpackages.com/packages/ppito-zf3-whoops)
```

###  Alternatives

[filp/whoops

php error handling for cool kids

13.2k402.4M1.4k](/packages/filp-whoops)[yireo/magento2-whoops

Magento 2 module adding Whoops error handling

102703.5k](/packages/yireo-magento2-whoops)[rarst/wps

WordPress plugin for whoops error handler.

129133.2k3](/packages/rarst-wps)[davidhavl/dherrorlogging

Full featured error logging module for ZF2/ZF3 application

1924.5k](/packages/davidhavl-dherrorlogging)[gourmet/whoops

Whoops for CakePHP 3

2638.0k1](/packages/gourmet-whoops)[dereuromark/cakephp-whoops

Whoops error handler for CakePHP

1492.4k1](/packages/dereuromark-cakephp-whoops)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
