{"id":13490727,"url":"https://github.com/cloudflare/cloudflare-php","last_synced_at":"2025-05-13T20:17:39.526Z","repository":{"id":37547017,"uuid":"100292238","full_name":"cloudflare/cloudflare-php","owner":"cloudflare","description":"PHP library for the Cloudflare v4 API","archived":false,"fork":false,"pushed_at":"2024-12-17T23:20:48.000Z","size":542,"stargazers_count":640,"open_issues_count":105,"forks_count":241,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-04-28T11:53:39.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudflare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-14T17:23:07.000Z","updated_at":"2025-04-08T04:43:22.000Z","dependencies_parsed_at":"2024-01-15T16:30:40.018Z","dependency_job_id":"f33952c6-8cd1-4588-a05a-dc67cd617831","html_url":"https://github.com/cloudflare/cloudflare-php","commit_stats":{"total_commits":240,"total_committers":57,"mean_commits":"4.2105263157894735","dds":0.8833333333333333,"last_synced_commit":"fdfc656aa8b78016f4722acec30b54136c027d8e"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fcloudflare-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fcloudflare-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fcloudflare-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fcloudflare-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudflare","download_url":"https://codeload.github.com/cloudflare/cloudflare-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254020658,"owners_count":22000757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T19:00:50.423Z","updated_at":"2025-05-13T20:17:39.509Z","avatar_url":"https://github.com/cloudflare.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# Cloudflare SDK (v4 API Binding for PHP 7)\n\n[![Build Status](https://travis-ci.org/cloudflare/cloudflare-php.svg?branch=master)](https://travis-ci.org/cloudflare/cloudflare-php)\n\n## Installation\n\nThe recommended way to install this package is via the Packagist Dependency Manager ([cloudflare/sdk](https://packagist.org/packages/cloudflare/sdk)). You can get specific usage examples on the Cloudflare Knowledge Base under: [Cloudflare PHP API Binding](https://support.cloudflare.com/hc/en-us/articles/115001661191)\n\n## Cloudflare API version 4\n\nThe Cloudflare API can be found [here](https://api.cloudflare.com/).\nEach API call is provided via a similarly named function within various classes in the **Cloudflare\\API\\Endpoints** namespace:\n\n- [x] [DNS Records](https://www.cloudflare.com/dns/)\n- [x] [DNS Analytics](https://api.cloudflare.com/#dns-analytics-table)\n- [x] Zones\n- [x] User Administration (partial)\n- [x] [Cloudflare IPs](https://www.cloudflare.com/ips/)\n- [x] [Page Rules](https://support.cloudflare.com/hc/en-us/articles/200168306-Is-there-a-tutorial-for-Page-Rules-)\n- [x] [Web Application Firewall (WAF)](https://www.cloudflare.com/waf/)\n- [ ] Virtual DNS Management\n- [x] Custom hostnames\n- [x] Manage TLS settings\n- [x] Zone Lockdown and User-Agent Block rules\n- [ ] Organization Administration\n- [x] [Railgun](https://www.cloudflare.com/railgun/) administration\n- [ ] [Keyless SSL](https://blog.cloudflare.com/keyless-ssl-the-nitty-gritty-technical-details/)\n- [x] [Origin CA](https://blog.cloudflare.com/universal-ssl-encryption-all-the-way-to-the-origin-for-free/)\n- [x] Crypto\n- [x] Load Balancers\n- [x] Firewall Settings\n\nNote that this repository is currently under development, additional classes and endpoints being actively added.\n\n## Getting Started\n\n```php\n$key     = new Cloudflare\\API\\Auth\\APIKey('user@example.com', 'apiKey');\n$adapter = new Cloudflare\\API\\Adapter\\Guzzle($key);\n$user    = new Cloudflare\\API\\Endpoints\\User($adapter);\n\necho $user-\u003egetUserID();\n```\n\n## Contributions\n\nWe welcome community contribution to this repository. [CONTRIBUTING.md](CONTRIBUTING.md) will help you start contributing.\n\n## Licensing\n\nLicensed under the 3-clause BSD license. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fcloudflare-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudflare%2Fcloudflare-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fcloudflare-php/lists"}