PHPackages                             phuongdev89/yii2-errorhandler - 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. phuongdev89/yii2-errorhandler

ActiveYii2-extension

phuongdev89/yii2-errorhandler
=============================

Yii2 Error Handle

1.0.0(2y ago)0117MITPHPPHP &gt;=7

Since Oct 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/phuongdev89/yii2-errorhandler)[ Packagist](https://packagist.org/packages/phuongdev89/yii2-errorhandler)[ RSS](/packages/phuongdev89-yii2-errorhandler/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Dependent
---------

[](#dependent)

Must have [phpstorm-protocol](https://github.com/phuongdev89/phpstorm-protocol) before

Composer
--------

[](#composer)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist phuongdev89/yii2-errorhandler "@dev"

```

or add

```
"phuongdev89/yii2-errorhandler": "@dev"

```

to the require section of your `composer.json` file.

Parameters
----------

[](#parameters)

#### $traceLine

[](#traceline)

Type: `string`
Default: `{html}`
If [phpstorm-protocol](https://github.com/phuongdev89/phpstorm-protocol) installed, change it to

```
{html}

```

#### $projectDirectionMap

[](#projectdirectionmap)

Type: `array|null`
Default: `null`
In docker container, project directory is `/app` maybe different with your IDE, just map it

Example
-------

[](#example)

```
    'components' => [
        'errorHandler' => [
            'class' => \phuongdev89\errorhandler\ErrorHandler::class,
            /**
            'traceLine' => '{html}',
            'projectDirectionMap' => [
                '/app' => 'D:\\Ampps\\www\mofiex-com'
            ]
            */
        ],
    ],

```

###  Health Score

22

—

LowBetter than 24% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

887d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b606411df0cf562fe1d77d5ee80c3ef2e2c34a06d93470a4127c8910132ba258?d=identicon)[phuongdev89](/maintainers/phuongdev89)

---

Top Contributors

[![phuongdev89](https://avatars.githubusercontent.com/u/7648033?v=4)](https://github.com/phuongdev89 "phuongdev89 (2 commits)")

---

Tags

errorhandleryii2

### Embed Badge

![Health badge](/badges/phuongdev89-yii2-errorhandler/health.svg)

```
[![Health](https://phpackages.com/badges/phuongdev89-yii2-errorhandler/health.svg)](https://phpackages.com/packages/phuongdev89-yii2-errorhandler)
```

###  Alternatives

[baibaratsky/yii2-rollbar

Rollbar for Yii2

35129.7k](/packages/baibaratsky-yii2-rollbar)

PHPackages © 2026

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