PHP code example of supersixtwo / dblog

1. Go to this page and download the library: Download supersixtwo/dblog 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/ */

    

supersixtwo / dblog example snippets

 php
Supersixtwo\Dblog\DBlogServiceProvider::class,
 php
'DBlog'		=> Supersixtwo\Dblog\DBlogClass::class,
 bash
$ php artisan vendor:publish
 bash
$ php artisan migrate
 php
DBlog::emergency($msg);
DBlog::alert($msg);
DBlog::critical($msg);
DBlog::error($msg);
DBlog::warning($msg);
DBlog::notice($msg);
DBlog::info($msg);
DBlog::debug($msg);
 php
$logs = DB::table('dblogs')->get();
 php 
$logs = DBlogModel::all();