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.
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.
@)How can I help you explore Laravel packages today?