newclass / vitium
PHP error manager.
v0.1.1
2017-09-13 10:20 UTC
Requires (Dev)
- phpunit/phpunit: ^4.8
This package is auto-updated.
Last update: 2025-02-16 23:13:51 UTC
README
What is Vitium?
Vitium is a PHP error manager. Auto detect syntax error, notice, deprecated na redirect to class handler.
Installation
The best way to install is to use the composer by command:
composer require newclass/vitium
composer install
Use example
use Vitium\ErrorManager;
$errorManager=new ErrorManager();
$errorManager->addHandler(new LogErrorHandler()); //Implement ErrorHandlerInterface