archiebot / proxy
此包已被废弃,不再维护。未建议替代包。
ArchieBot 代理包
3.1.8
2017-06-30 10:10 UTC
Requires
- php: ^5.6 || ^7.0
- fzaninotto/faker: ^1.6
- guzzlehttp/guzzle: ^6.2
- laravel/framework: ^5.3
Requires (Dev)
- mockery/mockery: ^0.9.6
- php-http/guzzle6-adapter: ^1.1
- phpunit/phpunit: ^5.6
- dev-master
- 3.1.8
- 3.1.7
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.9
- 3.0.8
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.2.9
- 2.2.8
- 2.2.7
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.9
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.9
- 2.0.8
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.9
- 1.0.6
- 1.0.5
- 1.0.3
- 1.0.2
This package is not auto-updated.
Last update: 2019-12-31 12:16:28 UTC
README
摘要
介绍
更多信息即将提供。
安装
将以下行添加到 composer.json
的 require
部分
{ "require": { "archiebot/proxy": "1.x" } }
或者运行命令
composer require "archiebot/proxy"
设置
- 将
Archiebot\Proxy\ArchiebotServiceProvider::class,
添加到app/config/app.php
中的服务提供者列表。 - 将
'Archiebot' => Archiebot\Proxy\Facades\ArchiebotFacade::class,
添加到app/config/app.php
中的别名列表。
配置
为了使用 Api 代理,首先发布其配置
php artisan config:publish archiebot/proxy
之后编辑文件 app/config/archiebot.php
以满足您的需求。
使用
最简单的方法是使用代理
$resource = new \Archiebot\Proxy\ArchiebotResources( 'account', \App::make('archiebot.proxy') ); dd($resource->me());
许可
此包根据 MIT 许可证发布。