2017 © Pedro Peláez
 

library laravel-antpool-api

Antpool PHP API Client for Laravel

image

aburakovskiy/laravel-antpool-api

Antpool PHP API Client for Laravel

  • Friday, December 22, 2017
  • by aburakovskiy
  • Repository
  • 1 Watchers
  • 0 Stars
  • 100 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 9 % Grown

The README.md

Antpool

Laravel PHP Facade/Antpool for the Antpool API, (*1)

Requirements

  • PHP 5.6 or higher
  • Laravel 5.1 or higher

Installation

Run in console below command to download package to your project:, (*2)

composer require aburakovskiy/laravel-antpool-api

Configuration

In /config/app.php add AntpoolServiceProvider:, (*3)

Aburakovskiy\LaravelAntpoolApi\AntpoolServiceProvider::class,

Do not forget to add also Antpool facade there:, (*4)

'Antpool' => Aburakovskiy\LaravelAntpoolApi\Facades\Antpool::class,

Publish config settings:, (*5)

$ php artisan vendor:publish --provider="Aburakovskiy\LaravelAntpoolApi\AntpoolServiceProvider"

Set your Antpool API credentials in the file:, (*6)

/config/antpool.php

Or in the .env file, (*7)

ANTPOOL_USERNAME = USERNAME
ANTPOOL_KEY = KEY
ANTPOOL_SECRET = SECRET

Usage

use Aburakovskiy\LaravelAntpoolApi\Facades\Antpool;

// Return an account info
$account = Antpool::get('account');

Antpool API

Credits

Built on code from Elompenta's antpool-php-api., (*8)

The Versions

22/12 2017

dev-master

9999999-dev

Antpool PHP API Client for Laravel

  Sources   Download

GPL

The Requires

  • php >=5.6

 

by Alexander Burakovskiy

20/12 2017

v0.1.1

0.1.1.0

Antpool PHP API Client for Laravel

  Sources   Download

MIT

The Requires

  • php >=5.6

 

by Alexander Burakovskiy

10/12 2017

v0.1

0.1.0.0

Antpool PHP API Client for Laravel

  Sources   Download

MIT

The Requires

  • php >=5.6

 

by Alexander Burakovskiy