sergkeim / php-cloudflare-api
PHP Client for Cloudflare API.
v0.5.1
2024-08-26 08:46 UTC
Requires
- php: ^8.0
- guzzlehttp/guzzle: ^7.9
- illuminate/contracts: ^9.0 || ^10.0 || ^11.0
- illuminate/support: ^9.0 || ^10.0 || ^11.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.62
- graham-campbell/testbench: ^6.1
- phpunit/phpunit: ^9.6.17 || ^10.5.13
This package is auto-updated.
Last update: 2026-06-28 23:06:29 UTC
README
A simple PHP Client for Cloudflare API.
Note: This package is under active development as I expand it to cover Cloudflare API. Consider the public API of this package a little unstable as I work towards a v1.0. See Coverage
This package provides convenient access to the Cloudflare REST API using PHP.
Features ✨
- PHP >= 8.0
- Minimal API around the Guzzle HTTP client
- Light and fast thanks to lazy loading of API classes
- Extensively documented
- Laravel >= 9 support
Quick install 🚀
Via Composer.
This command will get you up and running quickly.
composer require sergkeim/php-cloudflare-api
Thanks 🙏
- Thanks to Cloudflare for the high quality API and documentation.
- Thanks to KnpLabs for php-github-api used as inspiration for this package.
- Thanks to Graham Campbell for Laravel TestBench.
License 📎
php-cloudflare-api is licensed under the MIT License - see the LICENSE file for details
Cloudflare, the Cloudflare logo, and Cloudflare Workers are trademarks and/or registered trademarks of Cloudflare, Inc. in the United States and other jurisdictions.