PHP code example of devolarax / raxos-shield

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

    

devolarax / raxos-shield example snippets


return [
    // Cache TTL in minutes (default: 5).
    'cache_ttl' => 5,

    // Paths that bypass licensing entirely.
    'bypass_paths' => ['health', 'sitemap.xml', 'robots.txt', 'favicon.ico'],
];
bash
php artisan vendor:publish --tag=raxos-shield-config
php artisan vendor:publish --tag=raxos-shield-views
bash
php artisan raxos:install