PHPackages                             jaymoulin/guzzlehttp-cloudflare - 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. jaymoulin/guzzlehttp-cloudflare

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

jaymoulin/guzzlehttp-cloudflare
===============================

Bypass Cloudflare protection using GuzzleHTTP

1.1.1(6y ago)362.4k12MITPHPPHP ^7.2

Since Dec 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/jaymoulin/guzzlehttp-cloudflare)[ Packagist](https://packagist.org/packages/jaymoulin/guzzlehttp-cloudflare)[ Fund](https://streamlabs.com/cursedware/tip)[ Fund](https://www.buymeacoffee.com/3Yu8ajd7W)[ RSS](/packages/jaymoulin-guzzlehttp-cloudflare/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (7)Versions (12)Used By (0)

[![logo](logo.png)](logo.png)

Guzzle Cloudflare Bypass
========================

[](#guzzle-cloudflare-bypass)

[![latest release](https://camo.githubusercontent.com/00815a07f1ffeb0737423577b31e50b4ee2fc6c743877c5e42cb22f2f218ecf9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6a61796d6f756c696e2f67757a7a6c65687474702d636c6f7564666c6172652e737667 "latest release")](http://github.com/jaymoulin/guzzlehttp-cloudflare/releases)

[![PayPal donation](https://github.com/jaymoulin/jaymoulin.github.io/raw/master/ppl.png "PayPal donation")](https://www.paypal.me/jaymoulin)[![Buy me a coffee](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67 "Buy me a coffee")](https://www.buymeacoffee.com/3Yu8ajd7W)[![Become a Patron](https://camo.githubusercontent.com/d76055b9afd65f4eb06a73ace837a251ee15678e093326f89fafa11dff0ccb77/68747470733a2f2f62616467656e2e6e65742f62616467652f6265636f6d652f61253230706174726f6e2f463936383534 "Become a Patron")](https://patreon.com/jaymoulin)

(This product is available under a free and permissive license, but needs financial support to sustain its continued improvements. In addition to maintenance and stability there are many desirable features yet to be added.)

IMPORTANT NOTE: as KyranRana's dependency is actually not maintained anymore (), this package won't be as-well. Thank you for your understanding. Please have a look at my other works ( |  |  |  | )

Bypass Cloudflare DDoS protection - Please use it carefully

This package is based on [KyranRana's cloudflare-bypass](https://github.com/KyranRana/cloudflare-bypass).

Installation
------------

[](#installation)

Using `composer`

```
composer require jaymoulin/guzzlehttp-cloudflare
```

Usage
-----

[](#usage)

```
$sUrl = 'https://thebot.net/';
$oClient = new \GuzzleHttp\Client([
    'cookies' => new \GuzzleHttp\Cookie\FileCookieJar(tempnam('/tmp', __CLASS__)),
    'headers' => ['Referer' => $sUrl],
]); // 1. Create Guzzle instance
$aOptions = [
    'cache' => new \CloudflareBypass\Storage($sPathToYourCacheFolder),
]; // Example for cache, this is completely optional, with $sPathToYourCacheFolder a string to your cache folder
/** @var \GuzzleHttp\HandlerStack $oHandler */
$oHandler = $oClient->getConfig('handler');
$oHandler->push(\GuzzleCloudflare\Middleware::create($aOptions)); //2. ???

echo (string)$oClient->request('GET', $sUrl)->getBody(); //3. Profit!!
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~45 days

Total

11

Last Release

2291d ago

Major Versions

0.2.1 → 1.0.02019-09-02

PHP version history (2 changes)0.1.0PHP ^7.1

1.0.0PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2da54bd9b281d016477dc5c7224e7da8622e73bd4c47d14914b5d663370ac70?d=identicon)[jaymoulin](/maintainers/jaymoulin)

---

Top Contributors

[![jaymoulin](https://avatars.githubusercontent.com/u/14236493?v=4)](https://github.com/jaymoulin "jaymoulin (31 commits)")

---

Tags

automated-testingautomationcloudflareguzzleguzzle-middlewareguzzlehttpphpphp7security

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/jaymoulin-guzzlehttp-cloudflare/health.svg)

```
[![Health](https://phpackages.com/badges/jaymoulin-guzzlehttp-cloudflare/health.svg)](https://phpackages.com/packages/jaymoulin-guzzlehttp-cloudflare)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k34](/packages/neuron-core-neuron-ai)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[dreamfactory/df-core

DreamFactory(tm) Core Components

1652.0k38](/packages/dreamfactory-df-core)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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