1. Go to this page and download the library: Download fusic/encount library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
fusic / encount example snippets
// config/bootstrap.php
use Encount\Error\EncountErrorTrap;
use Encount\Error\EncountExceptionTrap;
/*
* Register application error and exception handlers.
*/
// (new ErrorTrap(Configure::read('Error')))->register();
// (new ExceptionTrap(Configure::read('Error')))->register();
(new EncountErrorTrap(Configure::read('Error')))->register();
(new EncountExceptionTrap(Configure::read('Error')))->register();