PHPackages                             sergey-s-moiseev/cloudflare-middleware - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. sergey-s-moiseev/cloudflare-middleware

ActiveLibrary[HTTP &amp; Networking](/categories/http)

sergey-s-moiseev/cloudflare-middleware
======================================

Cloudflare Middleware For Guzzle

v1.2(8y ago)025MITPHPPHP &gt;=5.6

Since Sep 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/sergey-s-moiseev/cloudflare-middleware)[ Packagist](https://packagist.org/packages/sergey-s-moiseev/cloudflare-middleware)[ RSS](/packages/sergey-s-moiseev-cloudflare-middleware/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Bypass Cloudflare
=================

[](#bypass-cloudflare)

Bypass Cloudflare Middleware For Guzzle

Installation
============

[](#installation)

Using [composer](https://getcomposer.org/):

```
composer require tunaabutbul/cloudflare-middleware

```

Usage
=====

[](#usage)

```
use GuzzleHttp\Client;
use Tuna\CloudflareMiddleware;
use GuzzleHttp\Cookie\FileCookieJar;

$client = new Client(['cookies' => new FileCookieJar('cookies.txt')]);

$client->getConfig('handler')->push(CloudflareMiddleware::create());

$res = $client->request('GET', 'http://www.exemple.com/');
echo $res->getBody();
```

Thanks
======

[](#thanks)

- [stackoverflowin](https://github.com/stackoverflowin) for [CloudFlare-PHP-Bypass](https://github.com/stackoverflowin/CloudFlare-PHP-Bypass)
- [KyranRana](https://github.com/KyranRana) for [cloudflare-bypass](https://github.com/KyranRana/cloudflare-bypass)

License
=======

[](#license)

---

This middleware is licensed under the MIT License - see the LICENSE file for details

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~49 days

Total

4

Last Release

3109d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5ad61e6774afba8ddc113a7baf9c4f21496c3ab4fe42472cc426baebe375e92?d=identicon)[sergey-s-moiseev](/maintainers/sergey-s-moiseev)

---

Top Contributors

[![josiasmontag](https://avatars.githubusercontent.com/u/1945577?v=4)](https://github.com/josiasmontag "josiasmontag (1 commits)")[![padlyuck](https://avatars.githubusercontent.com/u/630610?v=4)](https://github.com/padlyuck "padlyuck (1 commits)")[![sergey-s-moiseev](https://avatars.githubusercontent.com/u/6397231?v=4)](https://github.com/sergey-s-moiseev "sergey-s-moiseev (1 commits)")

---

Tags

middlewareGuzzlecloudflare

### Embed Badge

![Health badge](/badges/sergey-s-moiseev-cloudflare-middleware/health.svg)

```
[![Health](https://phpackages.com/badges/sergey-s-moiseev-cloudflare-middleware/health.svg)](https://phpackages.com/packages/sergey-s-moiseev-cloudflare-middleware)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k52](/packages/neuron-core-neuron-ai)[guzzlehttp/oauth-subscriber

Guzzle OAuth 1.0 subscriber

24215.8M157](/packages/guzzlehttp-oauth-subscriber)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[eljam/guzzle-jwt-middleware

A jwt authentication middleware for guzzle 6

28772.6k3](/packages/eljam-guzzle-jwt-middleware)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
