PHP code example of loguard / php-runtime

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

    

loguard / php-runtime example snippets

bash
composer 
bash
php vendor/bin/loguard-runtime-worker
cron
* * * * * cd /path/to/application && php vendor/bin/loguard-runtime-worker >/dev/null 2>&1
bash
php artisan vendor:publish --tag=loguard-runtime-config
text
config/loguard-runtime.php