ErrorHandler is a Symfony package that supplies utilities to handle errors and simplify debugging in PHP applications. You add it to a project with Composer.
Overview
ErrorHandler is a Symfony component packaged for Composer that helps PHP projects manage runtime errors and make failures easier to diagnose during development and production support.
The stated purpose is to provide tooling around error management and debugging rather than to ship as a standalone application. Consumers install it as a dependency inside their own PHP codebase and use it alongside the broader Symfony ecosystem or other frameworks that pull it in transitively.
Distribution is through Packagist under the symfony/error-handler package name. The documented install step is a standard Composer require command, which pulls the library into the vendor tree of the host project.
The package lists VarDumper among required dependencies on the Symfony packages site. Public materials also note wide adoption across many PHP applications and frameworks that depend on Symfony components, though the component itself is narrowly focused on error handling and debug support rather than full application features.
Key features
- PHP error management utilities
- Debugging support for PHP code
- Composer-installable Symfony package
- Integrates with Symfony component stack
- Depends on VarDumper package
Use cases
- Centralized error handling in PHP apps
- Easier debugging during development
- Symfony or compatible PHP projects
- Projects already using Composer dependencies