Download the PHP package coquibot/coqui-toolkit-cloudflare without Composer

On this page you can find all versions of the php package coquibot/coqui-toolkit-cloudflare. 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 coqui-toolkit-cloudflare

Coqui Toolkit: Cloudflare

Comprehensive Cloudflare management toolkit for Coqui. Provides full API v4 access for DNS records, tunnels, zones, security (firewall/WAF), page rules, and analytics.

Requirements

Installation

The toolkit is auto-discovered by Coqui via extra.php-agents.toolkits in composer.json.

Configuration

Required Credentials

Credential Description
CLOUDFLARE_API_TOKEN API token with appropriate permissions. Create one at Cloudflare Dashboard.

Optional Credentials

Credential Description
CLOUDFLARE_ACCOUNT_ID Account ID for tunnel and account-scoped operations. Found on the dashboard overview page.

Set credentials via the Coqui credentials tool:

API Token Permissions

Create a custom API token at Cloudflare API Tokens with the permissions you need:

Permission Required For
Zone: Read cf_zone list/get, cf_analytics
Zone: Edit cf_zone create/delete/purge
DNS: Read cf_dns list/get/export
DNS: Edit cf_dns create/update/delete/import
Cloudflare Tunnel: Read cf_tunnel list/get
Cloudflare Tunnel: Edit cf_tunnel create/delete, cf_tunnel_config
Firewall Services: Read cf_firewall list, cf_waf list
Firewall Services: Edit cf_firewall create/update/delete, cf_waf update
Zone: Page Rules: Read cf_page_rule list/get
Zone: Page Rules: Edit cf_page_rule create/update/delete
Analytics: Read cf_analytics
Account Settings: Read cf_account

Tools

cf_account

List accounts or get details for a specific account.

Actions: list, get

cf_zone

Manage zones — list, get details, create, delete, or purge cache.

Actions: list, get, create, delete, purge_cache

cf_dns

Full CRUD for DNS records (A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, and more), plus BIND export/import.

Actions: list, get, create, update, delete, export, import

cf_tunnel

Manage Cloudflare Tunnels. Requires CLOUDFLARE_ACCOUNT_ID.

Actions: list, create, get, delete, connections

cf_tunnel_config

Get and update tunnel configurations — ingress rules and origin settings. Supports both full JSON config and single-rule updates with automatic merge.

Actions: get, update

cf_firewall

Manage firewall access rules — block/challenge IPs, IP ranges, ASNs, or countries.

Actions: list_rules, create_rule, update_rule, delete_rule

cf_waf

List and manage WAF managed rule packages and individual rule overrides.

Actions: list_packages, get_package, list_rules, get_rule, update

cf_page_rule

Create, list, update, and delete Page Rules for URL pattern matching with actions.

Actions: list, get, create, update, delete

cf_analytics

Retrieve zone analytics — dashboard totals (traffic, bandwidth, threats) and DNS query analytics.

Actions: dashboard, dns

Gated Operations

The following operations require user confirmation (or --auto-approve):

Tool Gated Actions
cf_zone delete, purge_cache
cf_dns delete, import
cf_tunnel delete
cf_tunnel_config update
cf_firewall create_rule, update_rule, delete_rule
cf_waf update
cf_page_rule create, update, delete

Usage Examples

Development

License

MIT


All versions of coqui-toolkit-cloudflare with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
symfony/http-client Version ^7.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 coquibot/coqui-toolkit-cloudflare contains the following files

Loading the files please wait ...