carpediem / errors
Capture errors
Requires
- php: >=5.4.0
Requires (Dev)
- fabpot/php-cs-fixer: ^1.11
- phpunit/phpunit: ^4.0
This package is auto-updated.
Last update: 2024-12-07 00:01:07 UTC
README
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.
Highlights
- Enables manipulating PHP's errors in a predicable way
Requirements
You need PHP >= 5.4.0 but the latest stable version of PHP/HHVM is recommended.
Installation
The easiest way to install Carpediem\Errors
is by using composer.
$ composer require carpediem/errors
Documentation
Full documentation can be found at carpediem.github.io/errors. Contribute to this documentation in the gh-pages branch
Testing
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
Contributing
Contributions are welcome and will be fully credited. Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email dev@carpediem.fr instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see LICENSE for more information.