PHPackages                             lantosbro/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lantosbro/cloudflare-bypass

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lantosbro/cloudflare-bypass
===========================

A library for helping bypass the cloudflare UAM page.

03PHP

Since Oct 17Pushed 2y agoCompare

[ Source](https://github.com/LantosBro/cloudflare-bypass)[ Packagist](https://packagist.org/packages/lantosbro/cloudflare-bypass)[ RSS](/packages/lantosbro-cloudflare-bypass/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

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:

```
