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

ActiveLibrary

jaymoulin/cloudflare-bypass
===========================

A library for helping bypass the cloudflare UAM page.

3.4.3(5y ago)063341MITPHPPHP ^7.2

Since Sep 2Pushed 5y agoCompare

[ Source](https://github.com/jaymoulin/cloudflare-bypass)[ Packagist](https://packagist.org/packages/jaymoulin/cloudflare-bypass)[ RSS](/packages/jaymoulin-cloudflare-bypass/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (17)Used By (1)

Deprecation Note
================

[](#deprecation-note)

Unfortunately these new changes which Cloudflare are implementing will not be feasible to implement nor maintain in PHP. So it saddens me to say this project is going to be archived. Well played Cloudflare.

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

[](#cloudflare-bypass)

[![CI](https://github.com/KyranRana/cloudflare-bypass/workflows/CI/badge.svg)](https://github.com/jaymoulin/cloudflare-bypass/actions?query=workflow%3ACI)

A new and improved PHP library which bypasses the Cloudflare IUAM page using cURL.

#### Installation

[](#installation)

With composer:

`composer require kyranrana/cloudflare-bypass`

#### Usage with cURL

[](#usage-with-curl)

Use cURL how you normally would but instead of using `curl_exec` to execute the request we provide a class called `CFCurlImpl`. `CFCurlImpl` provides an `exec` method which takes your cURL handle and executes it - handling the IUAM page if it appears.

Method definition:

```
CFCurlImpl->exec(resource $curlHandle, UAMOptions $uamOptions)

```

Example:

```
