PHP code example of tomatophp / filament-logger

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

    

tomatophp / filament-logger example snippets


->plugin(\TomatoPHP\FilamentLogger\FilamentLoggerPlugin::make())

    'guards' => [
        'web',
        'auth:accounts'
    ],

    'guards' => [
        'web',
        'panel:admin'
    ],

use TomatoPHP\FilamentLogger\Facades\FilamentLogger;

FilamentLogger::log(message:'Your message here', level:'info');
bash
php artisan filament-logger:install
bash
php artisan vendor:publish --tag="filament-logger-config"
bash
php artisan vendor:publish --tag="filament-logger-config"
bash
php artisan vendor:publish --tag="filament-logger-lang"
bash
php artisan vendor:publish --tag="filament-logger-migrations"