library php-client
Log PHP Exception
log0/php-client
Log PHP Exception
- Saturday, September 24, 2016
- by savankoradia
- Repository
- 1 Watchers
- 1 Stars
- 12 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
About
Client library to catch error and exception., (*1)
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:, (*2)
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:, (*3)
#boostrap.php
use Log0\Exceptioner\Cake3\Error as Log0Error;
Configure::write('Error.exceptionRenderer', 'Log0\Exceptioner\Cake3\Renderer');
(new Log0Error(Configure::read('Error')))->register();