PHP code example of carolezountangni / log-supervisor

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

    

carolezountangni / log-supervisor example snippets


MY_PACKAGE_PREFIX=prefix-personnalise
MY_PACKAGE_MIDDLEWARES=middleware1,middleware2
 php
'providers' => [
    // ...
    carolezountangni\LogSupervisor\LogSupervisorServiceProvider::class,
    
],
 php

 protected $middleware = [
        // 
        \carolezountangni\LogSupervisor\Http\Middleware\Activity::class,
    ];

 php
php artisan vendor:publish --tag=migrations-ls
php artisan vendor:publish --tag=config-ls
php artisan migrate
php artisan vendor:publish --tag=public-ls
 php
 composer test