newclass/vitium

PHP error manager.

v0.1.1 2017-09-13 10:20 UTC

This package is auto-updated.

Last update: 2024-09-16 22:20:37 UTC


README

license PHP 5.5+

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