This package is a WIP. It currently contains a command to generate the expression for a Cloudflare security rule for your Laravel application routes.
A Laravel application running Laravel 12 or higher. Not running a stable version of Laravel? Upgrade with Shift.
You can install this package by running the following command:
composer require -W nexxai/laravel-cfcacheThis command was inspired by Jason McCreary's tweet: https://x.com/gonedark/status/1978458884948775294
php artisan cloudflare:waf-ruleOnce generated, you can copy and paste the expression into your domain's security rules (Security -> Security Rules -> Create Rule -> Custom Rule -> Edit expression)
Contributions to this project are welcome. You may open a Pull Request against the main branch. Please ensure you write a clear description (ideally with code samples) and all workflows are passing.