PHPackages                             tianye/yii-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. tianye/yii-whoops

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

tianye/yii-whoops
=================

Whoops integration class into Yii Framework 1.1

1.0.1(8y ago)1141MITPHP

Since Feb 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tianye/yii-whoops)[ Packagist](https://packagist.org/packages/tianye/yii-whoops)[ RSS](/packages/tianye-yii-whoops/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Yii Error Handler with Whoops
=============================

[](#yii-error-handler-with-whoops)

Integrates the Whoops library into Yii 1.1.

Usage
-----

[](#usage)

1. Install it:

    - Using \[Composer\] (it will automatically install Whoops main libraries as well):

    ```
    composer require tianye/yii-whoops ~1.0
    composer install
    ```

    - Or \[downloading\] and unpacking it in your `extensions` folder.
2. If you're using Composer, I strongly recomend you to create a `vendor` alias if you haven't yet. Add this to the beginning of your `config/main.php`:

    ```
    Yii::setPathOfAlias('vendor', __DIR__.'/../../vendor');
    ```
3. Replace your `errorHandler` entry at `config/main.php` with the error handler class. Example:

    ```
    'errorHandler' => ['class' => 'vendor.tianye.yii-whoops.WhoopsErrorHandler']
    ```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

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 ~0 days

Total

2

Last Release

3045d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18461675?v=4)[Tian Ye](/maintainers/tianye)[@tianye](https://github.com/tianye)

---

Top Contributors

[![tianye](https://avatars.githubusercontent.com/u/18461675?v=4)](https://github.com/tianye "tianye (3 commits)")

### Embed Badge

![Health badge](/badges/tianye-yii-whoops/health.svg)

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[getkirby/cms

The Kirby core

1.5k567.4k436](/packages/getkirby-cms)[yireo/magento2-whoops

Magento 2 module adding Whoops error handling

102739.7k](/packages/yireo-magento2-whoops)[zeuxisoo/slim-whoops

PHP whoops error on slim framework

1301.1M27](/packages/zeuxisoo-slim-whoops)[zhuravljov/yii2-debug

Yii debug toolbar

144508.5k4](/packages/zhuravljov-yii2-debug)[snowair/phalcon-debugbar

Integrates PHP Debug Bar with Phalcon.

159125.1k1](/packages/snowair-phalcon-debugbar)

PHPackages © 2026

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