spiral-packages/yii-error-handler-bridge

Yii Error Handler integration package for Spiral Framework

Maintainers

👁 butschster

Package info

github.com/spiral-packages/yii-error-handler-bridge

pkg:composer/spiral-packages/yii-error-handler-bridge

Statistics

Installs: 129 657

Dependents: 1

Suggesters: 0

Stars: 2

Open Issues: 1

1.1.3 2025-04-18 13:18 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT f2c223d79f7fd4d5cc3cc6c1bef261547153a1c1

error-handlingspiralspiral-framework

This package is auto-updated.

Last update: 2026-06-19 02:43:44 UTC


README

👁 PHP Version Require
👁 Latest Stable Version
👁 phpunit
👁 psalm
👁 Codecov
👁 Total Downloads
👁 Image

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

See the documentation for detailed installation and usage instructions.

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

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

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