本文へスキップ

Cloudflare PHP SDK

メンテナンス中
cloudflare/cloudflare-php

Cloudflare v4 API 用の PHP SDK(Composer パッケージ cloudflare/sdk)。DNS レコード、ゾーン、ページルール、WAF、レート制限などに対応。

GitHub で見る
スター
673
フォーク
269
ウォッチ
673
未解決の Issue
89

この紹介文は現在英語版のみです。

Overview

The Cloudflare PHP SDK wraps the Cloudflare v4 API for PHP. It is community-maintained and covers a subset of the API; the README notes that a comprehensive, auto-generated PHP SDK is planned, and suggests calling the API directly for full coverage in the meantime.

Requirements and install

PHP 8.1 or later:

composer require cloudflare/sdk

Coverage

Each API call is a similarly named method on classes in the Cloudflare\API\Endpoints namespace, including DNS records and analytics, zones, page rules, the web application firewall, custom hostnames, TLS settings, zone lockdown and user-agent rules, Origin CA, load balancers and firewall settings.

共通のカテゴリとタグで順位付けした、似たオープンソースプロジェクトです。

すべての SDK プロジェクト →