Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Error Handler

Error Handler Laravel Package

symfony/error-handler

Symfony ErrorHandler provides robust PHP error and exception handling with better debugging tools. Enable debug mode, convert warnings/notices into exceptions, and safely wrap code execution with ErrorHandler::call, even bypassing the @ silencer.

View on GitHub
Deep Wiki
Context7

The Symfony ErrorHandler component centralizes PHP error and exception handling to make debugging safer and more consistent across environments. Enable it with Debug::enable() for development, or register only specific parts when you need finer control.

It can convert runtime issues into actionable exceptions and provides flexible rendering for production, including custom HTML templates when debug mode is off.

  • Debug::enable() for full-stack error handling and developer-friendly output
  • ErrorHandler::register() to convert PHP errors into exceptions
  • DebugClassLoader::enable() to improve class loading diagnostics
  • ErrorHandler::call() to run code with strict error-to-exception conversion (even with @)
  • Optional custom error templates for consistent production pages
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport