PHP code example of brighty / cilog

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

    

brighty / cilog example snippets


use Brighty\Cilog\Cilog;


Cilog::log("Succesfully added data!", [$request->all()])

/** @file bootstrap/app.php */

// Register service provider
$app->register(Brighty\Cilog\Providers\LumenCilogServiceProvider::class);

use Brighty\Cilog\Cilog;


Cilog::log("Succesfully added data!", [$request->all()])
bash
# Install Cilog
php artisan cilog:install
bash
# Install Cilog
php artisan cilog:install --lumen