PHP Package: monicahq/laravel-cloudflare

This PHP library integrates Laravel with Cloudflare for efficient and secure web traffic management.

Current Version: 4.0.0
Last Updated: 2025-07-26
PHP Requirement: ^8.2
Dependencies:
laravel/framework
cloudflare/sdk
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The Laravel Cloudflare package optimizes website performance and enhances security by seamlessly connecting your Laravel application with Cloudflare's robust CDN and security features. This library simplifies the process of managing web traffic, caching, and security policies, ensuring a seamless integration experience for Laravel developers.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.0.0

Download Download v4.0.0

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/monicahq/laravel-cloudflare/4.0.0/loader.php';
require_once 'libs/laravel/framework/{lib_version}/loader.php';
require_once 'libs/cloudflare/sdk/{lib_version}/loader.php';

use Monicahq\LaravelCloudflare\CloudflareService;
use Monicahq\LaravelCloudflare\CacheManager;

$obj = new CloudflareService();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.