All Projects → jaymoulin → guzzlehttp-cloudflare

jaymoulin / guzzlehttp-cloudflare

Licence: MIT License
Guzzle middleware to pass through Cloudflare protection

Programming Languages

PHP
23972 projects - #3 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to guzzlehttp-cloudflare

guzzle-log-middleware
A Guzzle middleware to log request and responses automatically
Stars: ✭ 61 (+96.77%)
Mutual labels:  guzzle, guzzlehttp, guzzle-middleware
guzzle-oauth2-subscriber
OAuth 2.0 Client for Guzzle 4, 5, 6 and 7 with PHP 5.4 - PHP 8.0 - no more dependency hell!
Stars: ✭ 112 (+261.29%)
Mutual labels:  guzzle, guzzlehttp, guzzle-middleware
guzzle-jwt-middleware
Guzzle Jwt middleware
Stars: ✭ 24 (-22.58%)
Mutual labels:  guzzlehttp, guzzle-middleware
php-curl-cookbook
PHP CURL Cookbook 📖
Stars: ✭ 83 (+167.74%)
Mutual labels:  guzzle, guzzlehttp
http-constants
The missing PHP constants for HTTP header fields
Stars: ✭ 19 (-38.71%)
Mutual labels:  guzzle
artisan-cloudflare
Laravel artisan commands for CloudFlare
Stars: ✭ 67 (+116.13%)
Mutual labels:  cloudflare
DnsTube
Access your computer from anywhere. DnsTube is a Windows .NET dynamic DNS client for Cloudflare.
Stars: ✭ 137 (+341.94%)
Mutual labels:  cloudflare
relay-starter-kit
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, Material UI.
Stars: ✭ 3,513 (+11232.26%)
Mutual labels:  cloudflare
cfworker-middware-telegraf
Make telegraf (a telegram bot framework) useable in Cloudflare Workers
Stars: ✭ 23 (-25.81%)
Mutual labels:  cloudflare
ddns
a multiple providers ddns script without dependencies
Stars: ✭ 47 (+51.61%)
Mutual labels:  cloudflare
AkamaiOPEN-edgegrid-php-client
PHP client library for Akamai {OPEN} EdgeGrid Authentication scheme (based on Guzzle)
Stars: ✭ 38 (+22.58%)
Mutual labels:  guzzle
supaflare
URL shortener / redirection service powered by Supabase, Cloudflare Workers, Workers KV and Cloudflare Pages.
Stars: ✭ 51 (+64.52%)
Mutual labels:  cloudflare
protonmail-cli
✉️ Command line utility for https://protonmail.com -- unofficial
Stars: ✭ 71 (+129.03%)
Mutual labels:  automated-testing
cf ddns
CloudFlare DDNS executable written in Swift
Stars: ✭ 20 (-35.48%)
Mutual labels:  cloudflare
CFIP
CloudFlareCDN自选优选高速IP 采用经典单机测速算法+独立欧洲CF节点测速+移除更新提示+修复常见错误
Stars: ✭ 222 (+616.13%)
Mutual labels:  cloudflare
karate-runner
VSCode Extension for Karate
Stars: ✭ 23 (-25.81%)
Mutual labels:  automated-testing
cfresearch
A repository containing research from CloudFlare's Anti-DDoS challenges.
Stars: ✭ 154 (+396.77%)
Mutual labels:  cloudflare
wrangler2
🤠 wrangle your Cloudflare Workers
Stars: ✭ 349 (+1025.81%)
Mutual labels:  cloudflare
AdGuard-WireGuard-Unbound-Cloudflare
The Ultimate Network Security Guide 🔒 Protection | 🔎 Privacy | 🚀 Performance on home network 24/7 🕛 Accessible anywhere 🌏
Stars: ✭ 160 (+416.13%)
Mutual labels:  cloudflare
flareon
🦊A cloudflare DNS over HTTPs resolver client library.
Stars: ✭ 14 (-54.84%)
Mutual labels:  cloudflare

logo

Guzzle Cloudflare Bypass

latest release

PayPal donation Buy me a coffee Become a Patron

(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 (https://github.com/KyranRana/cloudflare-bypass/commit/00d34f0050b817b858bbf5fd349b9911932f353f), this package won't be as-well. Thank you for your understanding. Please have a look at my other works (https://github.com/jaymoulin | https://twitch.tv/cursedware | https://patreon.com/jaymoulin | https://discord.gg/ujjrPCu | https://jaymoulin.me)

Bypass Cloudflare DDoS protection - Please use it carefully

This package is based on KyranRana's cloudflare-bypass.

Installation

Using composer

composer require jaymoulin/guzzlehttp-cloudflare

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!!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].