1. Go to this page and download the library: Download deniscosmin/logservice 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/ */
deniscosmin / logservice example snippets
return [
];
use Deniscosmin21\LogService\LogService;
$el = new LogService();
use LogData;
LogData::set_source($request)->set_data('my log', 'info')->email(['[email protected]', '[email protected]'])->phone('07....')->send();