archiebot / proxy
This package is abandoned and no longer maintained.
No replacement package was suggested.
An ArchieBot proxy package
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
This package is not auto-updated.
Last update: 2019-12-31 12:16:28 UTC
README
Summary
Introduction
More information soon.
Installation
Add the following line to the require section of composer.json:
{
"require": {
"archiebot/proxy": "1.x"
}
}
or run command:
composer require "archiebot/proxy"
Setup
- Add
Archiebot\Proxy\ArchiebotServiceProvider::class,to the service provider list inapp/config/app.php. - Add
'Archiebot' => Archiebot\Proxy\Facades\ArchiebotFacade::class,to the list of aliases inapp/config/app.php.
Configuration
In order to use the Api Proxy publish its configuration first
php artisan config:publish archiebot/proxy
Afterwards edit the file app/config/archiebot.php to suit your needs.
Usage
The easiest way is usign proxy:
$resource = new \Archiebot\Proxy\ArchiebotResources( 'account', \App::make('archiebot.proxy') ); dd($resource->me());
License
This package is released under the MIT License.