PHPackages                             mrethical/http-proxies - 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. mrethical/http-proxies

ActiveLibrary[HTTP &amp; Networking](/categories/http)

mrethical/http-proxies
======================

Use http proxies within your Laravel application

v1.3.1(3y ago)0196[2 PRs](https://github.com/mrethical/http-proxies/pulls)MITPHPPHP ^8.0

Since Feb 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mrethical/http-proxies)[ Packagist](https://packagist.org/packages/mrethical/http-proxies)[ Docs](https://github.com/mrethical/http-proxies)[ RSS](/packages/mrethical-http-proxies/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (14)Versions (8)Used By (0)

Use http proxies within your Laravel application
================================================

[](#use-http-proxies-within-your-laravel-application)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3961069160e57cd61e182e41108736338673b0231338b290f01ed570b2fcf0d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d726574686963616c2f687474702d70726f786965732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mrethical/http-proxies)[![GitHub Tests Action Status](https://camo.githubusercontent.com/31fc359a019f30eb30c755887faa8b2228e86dd319f3dfea5c5aabf9f4b5478a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d726574686963616c2f687474702d70726f786965732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/mrethical/http-proxies/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/02953fae7ab147f7bd99b5ab7daaad170efd660c43a7a8db304fe7e189d72589/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e73253543776f726b666c6f772f7374617475732f6d726574686963616c2f687474702d70726f786965732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/mrethical/http-proxies/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/2bb1707d33b0376413a347d6d04e51010470526e41343380ff98e92e29a9a790/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d726574686963616c2f687474702d70726f786965732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mrethical/http-proxies)

This package help you set up a simple ip proxies management. It can also give you a GuzzleClient with a fresh active proxy configured.

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

[](#installation)

You can install the package via composer:

```
composer require mrethical/http-proxies
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="http-proxies-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="http-proxies-config"
```

This is the contents of the published config file:

```
return [
    'model' => Mrethical\HttpProxies\Models\Proxy::class,
    'selenium' => [
        'url' => env('SELENIUM_URL', 'http://localhost:4444'),
        'timeouts' => [
            'connection' => env('SELENIUM_CONNECTION_TIMEOUT'),
            'request' => env('SELENIUM_REQUEST_TIMEOUT'),
            'pageload' => env('SELENIUM_PAGELOAD_TIMEOUT', 60),
            'script' => env('SELENIUM_SCRIPT_TIMEOUT', 3),
        ],
    ],
];
```

Usage
-----

[](#usage)

Add a proxy by calling the `http-proxies:add` command

```
php artisan http-proxies:add 1.2.3.4 --port=80
```

On your code, get a GuzzleClient with a fresh active proxy.

```
use Mrethical\HttpProxies\HttpProxies;

$client = app(HttpProxies::class)->createClient();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Jefferson Magboo](https://github.com/mrethical)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.9% 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 ~17 days

Total

5

Last Release

1115d ago

PHP version history (2 changes)v1.0.0PHP ^8.0.2

v1.2.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/101b4e810811210fadff6df469e20d12adf6b7572d80afbef3a3f01659dd6749?d=identicon)[mrethical](/maintainers/mrethical)

---

Top Contributors

[![mrethical](https://avatars.githubusercontent.com/u/54579632?v=4)](https://github.com/mrethical "mrethical (22 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

---

Tags

clientguzzlehttphttplaravelproxylaravelmrethicalhttp-proxies

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/mrethical-http-proxies/health.svg)

```
[![Health](https://phpackages.com/badges/mrethical-http-proxies/health.svg)](https://phpackages.com/packages/mrethical-http-proxies)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[sunchayn/nimbus

A Laravel package providing an in-browser API client with automatic schema generation, live validation, and built-in authentication with a touch of Laravel-tailored magic for effortless API testing.

29428.0k](/packages/sunchayn-nimbus)[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)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[spatie/laravel-mailcoach-sdk

An SDK to easily work with the Mailcoach API in Laravel apps

41290.2k1](/packages/spatie-laravel-mailcoach-sdk)

PHPackages © 2026

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