{"id":21588809,"url":"https://github.com/teakowa/laravel-cloudflare","last_synced_at":"2026-02-10T00:04:30.929Z","repository":{"id":35041807,"uuid":"199674005","full_name":"Teakowa/Laravel-Cloudflare","owner":"Teakowa","description":"The Cloudflare API right from Laravel.","archived":false,"fork":false,"pushed_at":"2022-03-13T08:55:39.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-05T01:49:19.774Z","etag":null,"topics":["cloudflare","cloudflare-api","laravel-cloudflare","packagist"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Teakowa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE-ANTI996","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-30T15:00:25.000Z","updated_at":"2023-04-02T06:44:17.000Z","dependencies_parsed_at":"2022-08-08T04:01:15.028Z","dependency_job_id":null,"html_url":"https://github.com/Teakowa/Laravel-Cloudflare","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Teakowa/Laravel-Cloudflare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teakowa%2FLaravel-Cloudflare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teakowa%2FLaravel-Cloudflare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teakowa%2FLaravel-Cloudflare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teakowa%2FLaravel-Cloudflare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Teakowa","download_url":"https://codeload.github.com/Teakowa/Laravel-Cloudflare/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teakowa%2FLaravel-Cloudflare/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270364971,"owners_count":24571423,"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","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cloudflare","cloudflare-api","laravel-cloudflare","packagist"],"created_at":"2024-11-24T16:11:20.021Z","updated_at":"2026-02-10T00:04:30.923Z","avatar_url":"https://github.com/Teakowa.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Cloudflare\nThe Cloudflare API right from Laravel.\n\n![Travis (.org)](https://img.shields.io/travis/teakowa/laravel-cloudflare?style=flat-square)\n[![StyleCI](https://github.styleci.io/repos/199674005/shield?branch=master)](https://github.styleci.io/repos/199674005)\n![PHP from Packagist](https://img.shields.io/packagist/php-v/teakowa/laravel-cloudflare?style=flat-square)\n![Packagist Version](https://img.shields.io/packagist/v/teakowa/laravel-cloudflare?style=flat-square)\n[![LICENSE](https://img.shields.io/badge/License-Anti%20996-blue.svg?style=flat-square)](https://github.com/996icu/996.ICU/blob/master/LICENSE)\n[![LICENSE](https://img.shields.io/badge/License-Apache--2.0-green.svg?style=flat-square)](https://github.com/996icu/996.ICU/blob/master/LICENSE)\n[![996.icu](https://img.shields.io/badge/Link-996.icu-red.svg?style=flat-square)](https://996.icu)\n\n\n*Note: This will work for anything Laravel 5 and up but I made it for Laravel 5.5 so I won't add the service provider and facade instructions here.*\n\n## Installation\n\nFirst of all, You need get your API key **(not token)** from [Cloudflare](https://dash.cloudflare.com/profile/api-tokens)\n\n```sh\ncomposer require Teakowa/laravel-cloudflare\n```\n\nPublish the config file.\n\n```\nphp artisan vendor:publish\n```\n\nPut them in your `.env` as the following, obviously and respectively.\n1. `CLOUDFLARE_EMAIL`\n2. `CLOUDFLARE_API_KEY`\n\n## Usage\n\nLastly, you can using `Cloudflare` class in controller use namespace top of that file\n\n```php\nuse Teakowa\\Cloudflare\\Cloudflare;\n\n$data = (new Cloudflare)-\u003ezone()-\u003elistZones();\n```\n\nor if you want a simple, you can use `cloudflare` function:\n\n```php\ncloudflare()\n```\n\n## LICENSE\nThe code in this repository, unless otherwise noted, is under the terms of both the [Anti 996](https://github.com/996icu/996.ICU/blob/master/LICENSE) License and the [Apache License (Version 2.0)]().","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteakowa%2Flaravel-cloudflare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteakowa%2Flaravel-cloudflare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteakowa%2Flaravel-cloudflare/lists"}