Downloads
Stars
Version
Through its dedicated connection, laravel-Cloudflare offers a seamless and expressive solution for integrating the CloudFlare API into Laravel applications. This package provides a straightforward and reliable interface for connecting to the Cloudflare v4 API, making it the simplest and most stable choice for Laravel developers.
To initiate the integration of Laravel-Cloudflare, employ Composer to include the package in your project's dependencies:
composer require kaankilic/laravel-cloudflare
To integrate Laravel-Cloudflare, include the registration of its ServiceProvider in your config/app.php configuration file after installation:
Kaankilic\LaravelCloudflare\Providers\CloudflareServiceProvider::class,
Additionally, include the Cloudflare facade in the aliases array within your application's configuration file:
'Cloudflare' => Kaankilic\LaravelCloudflare\Facades\Cloudflare::class
Finally, please make sure to publish the configuration file.
php artisan vendor:publish --provider="Kaankilic\LaravelCloudflare\Providers\CloudflareServiceProvider::class"
This command will generate the configurations for your project.
I am the creator and single contributor to the project. So, Feel free to contribute something useful to me. Please use GitHub for reporting bugs, and making comments or suggestions
Laravel-Cloudflare is open-sourced software licensed under the MIT