PHPackages                             sicaboy/laravel-http-proxy - 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. sicaboy/laravel-http-proxy

ActiveLibrary

sicaboy/laravel-http-proxy
==========================

A package allows HTTP proxy

0.2.1(7y ago)51011PHPCI failing

Since Sep 3Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sicaboy/laravel-http-proxy)[ Packagist](https://packagist.org/packages/sicaboy/laravel-http-proxy)[ RSS](/packages/sicaboy-laravel-http-proxy/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (4)Used By (0)

Laravel HTTP Proxy Pool
=======================

[](#laravel-http-proxy-pool)

[![Build Status](https://camo.githubusercontent.com/acd965936e64eb97813fd55adb5e17b7f5a703489acea1e22f5634d0f331abd1/68747470733a2f2f7472617669732d63692e6f72672f73696361626f792f6c61726176656c2d687474702d70726f78792e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://travis-ci.org/sicaboy/laravel-http-proxy)[![Latest Stable Version](https://camo.githubusercontent.com/2b389c4e07ee20adcd8ebd403eb58c8d4b880d687f45ee4bbb00f0951cf14efa/68747470733a2f2f706f7365722e707567782e6f72672f73696361626f792f6c61726176656c2d687474702d70726f78792f762f737461626c65)](https://packagist.org/packages/sicaboy/laravel-http-proxy)[![Total Downloads](https://camo.githubusercontent.com/c9763bcfaec7cf238c386855dd5641971dce9bded9a6fa47cd06055342d47e39/68747470733a2f2f706f7365722e707567782e6f72672f73696361626f792f6c61726176656c2d687474702d70726f78792f646f776e6c6f616473)](https://packagist.org/packages/sicaboy/laravel-http-proxy)[![Latest Unstable Version](https://camo.githubusercontent.com/d4741d71ea9ab07819f7a7c921aef9fb473ff0b0c2146880e8bcc3849a45009a/68747470733a2f2f706f7365722e707567782e6f72672f73696361626f792f6c61726176656c2d687474702d70726f78792f762f756e737461626c65)](https://packagist.org/packages/sicaboy/laravel-http-proxy)[![License](https://camo.githubusercontent.com/83a399fe7b0169593c560139ae201a2d9399bb994b54d49de849afb04995e63f/68747470733a2f2f706f7365722e707567782e6f72672f73696361626f792f6c61726176656c2d687474702d70726f78792f6c6963656e7365)](https://packagist.org/packages/sicaboy/laravel-http-proxy)

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

[](#installation)

```
composer require sicaboy/laravel-http-proxy

```

Setup Service
-------------

[](#setup-service)

[https://github.com/jhao104/proxy\_pool](https://github.com/jhao104/proxy_pool)

Laravel 5
---------

[](#laravel-5)

### Setup

[](#setup)

***NOTE*** This package supports the auto-discovery feature of Laravel 5.5, So skip these `Setup` instructions if you're using Laravel 5.5.

In `app/config/app.php` add the following :

1- The ServiceProvider to the providers array :

```
Sicaboy\LaravelHttpProxy\HttpProxyServiceProvider::class,
```

2- The class alias to the aliases array :

```
'HttpProxy' => Sicaboy\LaravelHttpProxy\Facades\HttpProxy::class,
```

3- Publish the config file

```
php artisan vendor:publish --provider="Sicaboy\LaravelHttpProxy\HttpProxyServiceProvider"

```

### Configuration

[](#configuration)

Add lines in **.env** file :

```
HTTP_PROXY_PROTOCOL=http
HTTP_PROXY_HOST=127.0.0.1
HTTP_PROXY_PORT=5010
HTTP_PROXY_CACHE_ENABLED=false
HTTP_PROXY_CACHE_KEY=laravel-http-proxy
HTTP_PROXY_CACHE_TTL=300

```

### Usage

[](#usage)

```
use Sicaboy\LaravelHttpProxy\Facades\HttpProxy;
// Get a valid proxy. e.g."12.34.56.78:8080"
$proxy = HttpProxy::getProxy();
// Give up the current cached proxy and get another valid proxy
$proxy = HttpProxy::refreshProxy();
```

### Testing

[](#testing)

Contribute
----------

[](#contribute)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Total

3

Last Release

2804d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e2951851fcef464f5f5745cac87603ddd3675ba9f92623c5156a6073e499e28?d=identicon)[sicaboy](/maintainers/sicaboy)

---

Top Contributors

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

---

Tags

http-proxy

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sicaboy-laravel-http-proxy/health.svg)

```
[![Health](https://phpackages.com/badges/sicaboy-laravel-http-proxy/health.svg)](https://phpackages.com/packages/sicaboy-laravel-http-proxy)
```

###  Alternatives

[php-curl-class/php-curl-class

PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs.

3.3k9.5M351](/packages/php-curl-class-php-curl-class)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)

PHPackages © 2026

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