Download the PHP package sergkeim/php-cloudflare-api without Composer

On this page you can find all versions of the php package sergkeim/php-cloudflare-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-cloudflare-api

PHP Client for Cloudflare API

A simple PHP Client for Cloudflare API.

Banner

Build Status Software License Coverage Packagist Downloads Latest Version

This package provides convenient access to the Cloudflare REST API using PHP.

Features โœจ

Quick install ๐Ÿš€

Via Composer.

This command will get you up and running quickly.

Versioning and compatibility ๐Ÿ”’

This package follows Semantic Versioning. Breaking changes to the public API happen only in a major release, and each release notes what changed and how to move across on the releases page.

The public API is:

Not covered, and free to change in any release:

Two more promises worth stating:

Running Tests ๐Ÿงช

If you don't have PHP/Composer installed locally, a Docker setup is provided so you can install dependencies and run the test suite without installing anything on your machine.

A ./dock helper script wraps the common docker compose commands (it starts the container automatically if it isn't already running):

Static analysis

src is analysed with PHPStan at level 8, on the lowest supported PHP version, and CI fails on any error. Run it locally with ./dock analyse (or composer analyse); the configuration lives in phpstan.neon.dist.

Support matrix

This package requires PHP >= 8.2.

The Laravel service provider and facade ship in the package but are an optional integration. The integration is tested against Laravel 10, 11, 12 and 13. ./dock matrix builds and tests every supported PHP/Laravel combination locally, in isolated containers, mirroring .github/workflows/tests.yml:

PHP Laravel 10 Laravel 11 Laravel 12 Laravel 13
8.2 โœ… โœ… โœ… โŒ
8.3 โœ… โœ… โœ… โœ…
8.4 โŒ โœ… โœ… โœ…
8.5 โŒ โŒ โœ… โœ…

Each matrix cell runs composer update and the full test suite inside its own container/vendor volume, so runs never interfere with each other or with your host composer.json/composer.lock.

Or use docker compose directly if you prefer:

The php service mounts the repository into the container, so changes you make on your host are picked up immediately without rebuilding.

Thanks ๐Ÿ™

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.


All versions of php-cloudflare-api with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
guzzlehttp/guzzle Version ^7.9 || ^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sergkeim/php-cloudflare-api contains the following files

Loading the files please wait ...