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

README

Latest Version Software License Build Status Code Quality Total Downloads

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

  1. Add Archiebot\Proxy\ArchiebotServiceProvider::class, to the service provider list in app/config/app.php.
  2. Add 'Archiebot' => Archiebot\Proxy\Facades\ArchiebotFacade::class, to the list of aliases in app/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.