PHP code example of yzen.dev / mono-processor

1. Go to this page and download the library: Download yzen.dev/mono-processor 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/ */

    

yzen.dev / mono-processor example snippets


    'channels' => [
        'daily' => [
            'driver' => 'daily',
            'path' => storage_path('logs/laravel.log'),
            'level' => 'debug',
            'days' => env('LOG_DAYS', 7),
            'tap' => [
                MonoProcessor\MonoProcessors::class
            ]
        ]
    ]

php artisan vendor:publish --provider "MonoProcessor\ServiceProvider"