Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The Yii Error Handler is a bridge package for Spiral Framework that provides integration with the Yii framework's error handlers.

License

NotificationsYou must be signed in to change notification settings

spiral-packages/yii-error-handler-bridge

Repository files navigation

PHP Version RequireLatest Stable VersionphpunitpsalmCodecovTotal Downloads

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 thedocumentation 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 tohttp://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 seeLicense File for more information.

About

The Yii Error Handler is a bridge package for Spiral Framework that provides integration with the Yii framework's error handlers.

Resources

License

Stars

Watchers

Forks

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp