sz4h / cloudflare
Cloudflare interface
1.2.1
2026-11-01 07:53 UTC
Requires
- cloudflare/sdk: dev-master
- filament/filament: ^5.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Install
- Run
composer require sz4h/cloudflare
- Run
php artisan vendor:publish --tag=cloudflare
- Edit the "config/cloudflare.php" file add your email and your apiKey
- Visit http://site.com/cloud if you enable public access while site.com is your domain name
- Enable Filament Plugin using
->plugins([ // Add this line \Space\Cloudflare\Filament\CloudflarePlugin::make() ->navigationIcon('heroicon-o-globe-alt') ->navigationGroup('Infrastructure') ->navigationSort(5) ->slug('dns') ->navigationLabel('Domains') ]);
*** This is a beta version. Install on your own risk ***
Authorization
Every panel action has its own Space\Cloudflare\Enums\CloudflareAbility. Without a callback, every panel user may run all of them.
\Space\Cloudflare\Filament\CloudflarePlugin::make() ->authorizeUsing(fn (CloudflareAbility $ability): bool => auth()->user()->can($ability->value))