PHPackages                             guanguans/laravel-proxy-manager - 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. guanguans/laravel-proxy-manager

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

guanguans/laravel-proxy-manager
===============================

Proxy Manager integration for Laravel. - Laravel 的代理管理器集成。

1.2.0(2y ago)420MITPHPPHP &gt;=7.4CI passing

Since Aug 16Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/guanguans/laravel-proxy-manager)[ Packagist](https://packagist.org/packages/guanguans/laravel-proxy-manager)[ Docs](https://github.com/guanguans/laravel-proxy-manager)[ Fund](https://www.guanguans.cn/images/wechat.jpeg)[ RSS](/packages/guanguans-laravel-proxy-manager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (28)Versions (26)Used By (0)

laravel-proxy-manager
=====================

[](#laravel-proxy-manager)

[简体中文](README-zh_CN.md) | [ENGLISH](README.md)

> [Proxy Manager](https://github.com/Ocramius/ProxyManager) integration for Laravel. - Laravel 的代理管理器集成。

[![tests](https://github.com/guanguans/laravel-proxy-manager/workflows/tests/badge.svg)](https://github.com/guanguans/laravel-proxy-manager/actions)[![check & fix styling](https://github.com/guanguans/laravel-proxy-manager/actions/workflows/php-cs-fixer.yml/badge.svg)](https://github.com/guanguans/laravel-proxy-manager/actions)[![codecov](https://camo.githubusercontent.com/35e4aa1b828c8a8e081619ddd140ade3f38e4f511e9d2e9ce4097b0f69504db6/68747470733a2f2f636f6465636f762e696f2f67682f6775616e6775616e732f6c61726176656c2d70726f78792d6d616e616765722f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d55524746415753365334)](https://codecov.io/gh/guanguans/laravel-proxy-manager)[![Latest Stable Version](https://camo.githubusercontent.com/f8b17ccf6a3cb576c7ab4d5816a871e4eccd1607f3071915b910778379e353e6/68747470733a2f2f706f7365722e707567782e6f72672f6775616e6775616e732f6c61726176656c2d70726f78792d6d616e616765722f76)](//packagist.org/packages/guanguans/laravel-proxy-manager)[![Total Downloads](https://camo.githubusercontent.com/501df0b552a61ea0c43a67818bcf8d27ed315dc06e9d1532fc7cc70eddbb4de1/68747470733a2f2f706f7365722e707567782e6f72672f6775616e6775616e732f6c61726176656c2d70726f78792d6d616e616765722f646f776e6c6f616473)](//packagist.org/packages/guanguans/laravel-proxy-manager)[![License](https://camo.githubusercontent.com/dd9450f219955006fd213413e60fe7cf524647560f8732c7812887f00717c528/68747470733a2f2f706f7365722e707567782e6f72672f6775616e6775616e732f6c61726176656c2d70726f78792d6d616e616765722f6c6963656e7365)](//packagist.org/packages/guanguans/laravel-proxy-manager)[![GitHub release (latest by date)](https://camo.githubusercontent.com/a73c4472bcc14d39029a63d26e78f5e6f1f2e64a527597219b6c4e3c5d288479/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6775616e6775616e732f6c61726176656c2d70726f78792d6d616e61676572)](https://camo.githubusercontent.com/a73c4472bcc14d39029a63d26e78f5e6f1f2e64a527597219b6c4e3c5d288479/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6775616e6775616e732f6c61726176656c2d70726f78792d6d616e61676572)

Feature
-------

[](#feature)

- Quickly create different types of proxy instances.
- Quickly bind different types of proxy instances to container.
- Quickly extend to different types of proxy instances to container.

Requirement
-----------

[](#requirement)

- PHP &gt;= 7.4
- Laravel &gt;= 7.0

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

[](#installation)

```
$ composer require guanguans/laravel-proxy-manager -vvv
```

```
$ php artisan vendor:publish --provider="Guanguans\\LaravelProxyManager\\ProxyManagerServiceProvider"
```

Usage
-----

[](#usage)

[**test examples**](./tests/Facades)

### Get proxy manager instance

[](#get-proxy-manager-instance)

```
app(\Guanguans\LaravelProxyManager\ProxyManager::class);
resolve(\Guanguans\LaravelProxyManager\ProxyManager::class);
```

### Proxy manager facade methods

[](#proxy-manager-facade-methods)

```
