fuelviews / laravel-cloudflare-cache
Laravel cloudflare cache package
Requires
- php: ^8.3
- guzzlehttp/guzzle: *
- illuminate/contracts: ^10.0||^11.0||^12.0
- spatie/laravel-package-tools: ^1.92
Requires (Dev)
- driftingly/rector-laravel: ^2.0
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^10.2||^9.0.0||^8.22.0
- pestphp/pest: ^3.0||^2.34
- pestphp/pest-plugin-arch: ^3.0||^2.7
- pestphp/pest-plugin-laravel: ^3.2||^2.3
- rector/rector: ^2.0
This package is auto-updated.
Last update: 2025-05-16 08:57:34 UTC
README
Laravel cloudflare cache package for laravel offers an efficient way to manage cloudflare's cache directly from your Laravel application, streamlining the purge process to ensure your content remains fresh.
Installation
You can install the package via composer:
composer require fuelviews/laravel-cloudflare-cache
You can publish the config file with:
php artisan vendor:publish --tag="cloudflare-cache-config"
Usage
Purge everything function with:
use Fuelviews\CloudflareCache\Facades\CloudflareCache; CloudflareCache::purgeEverything();
Purge everything console command with:
php artisan cloudflare-cache:clear
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
Support us
Fuelviews is a web development agency based in Portland, Maine. You'll find an overview of all our projects on our website.
License
The MIT License (MIT). Please see License File for more information.