PHP code example of notwonderful / filament-cloudflare
1. Go to this page and download the library: Download notwonderful/filament-cloudflare 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/ */
notwonderful / filament-cloudflare example snippets
use notwonderful\FilamentCloudflare\CloudflarePlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugin(CloudflarePlugin::make());
}
bash
php artisan vendor:publish --tag=cloudflare-config