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)312.4k12MITPHPPHP ^7.2

Since Dec 25Pushed 5y 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 yesterday

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

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

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

2243d 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

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)

PHPackages © 2026

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