2017 © Pedro Peláez
 

library apihelper

image

thunderid/apihelper

  • Friday, May 13, 2016
  • by chelsymooy
  • Repository
  • 3 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Thunder API Helper

Package contain engine to help basic API Post & Request., (*1)

Require

Guzzlehttp/guzzle": "~5.3", (*2)

Installation

composer.json:, (*3)

    "thunderid/APIHelper": "dev-master"

run, (*4)

    composer update
    composer dump-autoload

Usage

ENV setting

  1. Domain API_domain="YOUR DOMAIN"
  2. Port (if your domain use port. if you don't, you dont need to configure it on your env) API_port="YOUR PORT"
  3. Timeout (set custom waiting timout. Don't configure if you want use default value) API_timeout="time interval"

service provider, (*5)

'ThunderID\APIHelper\ThunderAPIHelperServiceProvider::class'

Aliases, (*6)

  1. API connector desc : to comunicate (post/get) data (to/from) api
'API' => ThunderID\APIHelper\API\APIData::class,
  1. JSEND desc : to transfer data as jsend format
'JSEND' => ThunderID\APIHelper\Data\Jsend::class,

The Versions

13/05 2016

dev-master

9999999-dev

  Sources   Download

The Requires

 

by budi