PHPackages                             spiral-packages/yii-error-handler-bridge - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. spiral-packages/yii-error-handler-bridge

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

spiral-packages/yii-error-handler-bridge
========================================

Yii Error Handler integration package for Spiral Framework

1.1.3(1y ago)2123.5k—5.1%1[1 issues](https://github.com/spiral-packages/yii-error-handler-bridge/issues)MITPHPPHP ^8.1CI failing

Since Jan 27Pushed 1y ago2 watchersCompare

[ Source](https://github.com/spiral-packages/yii-error-handler-bridge)[ Packagist](https://packagist.org/packages/spiral-packages/yii-error-handler-bridge)[ Docs](https://github.com/spiral-packages/yii-error-handler-bridge)[ RSS](/packages/spiral-packages-yii-error-handler-bridge/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (6)Dependencies (10)Versions (9)Used By (0)

Yii error handler bridge
========================

[](#yii-error-handler-bridge)

[![PHP Version Require](https://camo.githubusercontent.com/81b99498fcc617282ac3df3304b98148fb7552c0751add6cae561c2d34f28ada/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2d7061636b616765732f7969692d6572726f722d68616e646c65722d6272696467652f726571756972652f706870)](https://packagist.org/packages/spiral-packages/yii-error-handler-bridge)[![Latest Stable Version](https://camo.githubusercontent.com/a2f62704b4d771ea8620106d20b16de1183bcec792de3690a4d2b0d77826d44e/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2d7061636b616765732f7969692d6572726f722d68616e646c65722d6272696467652f762f737461626c65)](https://packagist.org/packages/spiral-packages/yii-error-handler-bridge)[![phpunit](https://github.com/spiral-packages/yii-error-handler-bridge/actions/workflows/phpunit.yml/badge.svg)](https://github.com/spiral-packages/yii-error-handler-bridge/actions)[![psalm](https://github.com/spiral-packages/yii-error-handler-bridge/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral-packages/yii-error-handler-bridge/actions)[![Codecov](https://camo.githubusercontent.com/4228c03859306ab86995815401c3ad0c8d50e705901a53520c9054f739f7b21f/68747470733a2f2f636f6465636f762e696f2f67682f73706972616c2d7061636b616765732f7969692d6572726f722d68616e646c65722d6272696467652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spiral-packages/yii-error-handler-bridge/)[![Total Downloads](https://camo.githubusercontent.com/6cf447e5ea830330be39c926e6a12eb7d6005167b8edaa6743370293e8a7bee5/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2d7061636b616765732f7969692d6572726f722d68616e646c65722d6272696467652f646f776e6c6f616473)](https://packagist.org/spiral-packages/yii-error-handler-bridge/phpunit)[![](https://camo.githubusercontent.com/4442b73a11753b80fdd7b442ddbfaf8383902c8b9ffa66ed1718e8c62e102f2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d6d6167656e74612e737667)](https://discord.gg/8bZsjYhVVk)

Requirements
------------

[](#requirements)

Make sure that your server is configured with following PHP version and extensions:

- PHP 8.1+
- Spiral framework 3.0+

Documentation, Installation, and Usage Instructions
---------------------------------------------------

[](#documentation-installation-and-usage-instructions)

See the [documentation](https://spiral.dev/docs/basics-errors#yii-error-renderer) for detailed installation and usage instructions.

Acceptance Test Sandbox
-----------------------

[](#acceptance-test-sandbox)

This package includes an acceptance test sandbox that demonstrates how the different error renderers work with various verbosity levels. The sandbox provides a simple web interface to visualize errors rendered in HTML, JSON, XML, and Plain Text formats.

### Running the Sandbox

[](#running-the-sandbox)

You can run the sandbox using Composer:

```
composer sandbox
```

Or manually start the PHP built-in web server from the project root:

```
php -S localhost:8000 tests/Acceptance/server.php
```

Then open your browser and navigate to `http://localhost:8000`

The interface allows you to select different renderer types (HTML, JSON, Plain Text, XML) and verbosity levels (Basic, Verbose, Debug) to see how exceptions are presented in each format.

This sandbox is useful for testing and understanding how the error renderers work in different scenarios without needing to integrate them into a full application.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~182 days

Total

8

Last Release

395d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/773481?v=4)[Pavel Buchnev](/maintainers/butschster)[@butschster](https://github.com/butschster)

---

Top Contributors

[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (14 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (13 commits)")[![meekstellar](https://avatars.githubusercontent.com/u/44509066?v=4)](https://github.com/meekstellar "meekstellar (6 commits)")[![msmakouz](https://avatars.githubusercontent.com/u/67324318?v=4)](https://github.com/msmakouz "msmakouz (3 commits)")

---

Tags

error handlingspiralspiral-framework

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/spiral-packages-yii-error-handler-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/spiral-packages-yii-error-handler-bridge/health.svg)](https://phpackages.com/packages/spiral-packages-yii-error-handler-bridge)
```

###  Alternatives

[spiral/temporal-bridge

Temporal integration package for Spiral Framework

58901.5k](/packages/spiral-temporal-bridge)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8674.9k](/packages/illuminated-console-logger)

PHPackages © 2026

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