PHP code example of milly / laralog
1. Go to this page and download the library: Download milly/laralog 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/ */
milly / laralog example snippets
use Milly\Laralog\Laralog;
// call statically
Laralog::debug('This is a debug message');
//call instance
$laralog = new Laralog();
$laralog->info('This is an info message');
return [
'is_enabled' => true,
'telegram_bot_token' => env('TELEGRAM_BOT_TOKEN'),
'telegram_chat_id' => env('TELEGRAM_CHAT_ID'),
];
bash
php artisan vendor:publish --tag=laralog-config