PHP code example of div-art / logger
1. Go to this page and download the library: Download div-art/logger 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/ */
div-art / logger example snippets
'Logger' => \DivArt\Logger\Facades\Logger::class,
php artisan vendor:publish --provider="DivArt\Logger\LoggerServiceProvider"
php
Logger::save(array('name' => 'sani', 'year' => '30'));
php
//get all logs
Route::get('/div-art/logger/all/{date?}');