This library helps capturing and transforming PHP's error into exception. Part of this library is based on the excellent work in the Haldayne\Fox project.
- Enables manipulating PHP's errors in a predicable way
You need PHP >= 5.4.0 but the latest stable version of PHP/HHVM is recommended.
The easiest way to install Carpediem\Errors
is by using composer.
$ composer require carpediem/errors
Full documentation can be found at carpediem.github.io/errors. Contribute to this documentation in the gh-pages branch
The library has a PHPUnit test suite and a coding style compliance test suite using PHP CS Fixer. To run the tests, run the following command from the project folder.
$ composer test
Contributions are welcome and will be fully credited. Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see LICENSE for more information.