log0/php-client

dev-master 2016-09-24 09:38 UTC

This package is not auto-updated.

Last update: 2025-02-01 22:08:19 UTC


README

#About Client library to catch error and exception.

#How to install?

- composer require log0/php-client
- composer require log0/php-client "@dev"

Core PHP Usage

To use this library with code php code, make following configurations:

require_once 'vendor/autoload.php';
use Log0\Exceptioner\Core\Handler;
Handler::init();

CakePHP 3 Usage

To use this library with CakePHP 3, make following configurations:

#boostrap.php
use Log0\Exceptioner\Cake3\Error as Log0Error;
Configure::write('Error.exceptionRenderer', 'Log0\Exceptioner\Cake3\Renderer');
(new Log0Error(Configure::read('Error')))->register();