carpediem/errors

Capture errors

0.2.0 2016-01-14 09:49 UTC

This package is auto-updated.

Last update: 2024-04-06 22:28:24 UTC


README

Latest Version Software License Build Status HHVM Status Coverage Status Quality Score Total Downloads

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.