thunderid / apihelper
Installs: 34
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 1
pkg:composer/thunderid/apihelper
Requires
- php: >=5.5.9
- guzzlehttp/guzzle: ~5.3
- illuminate/support: 5.*
This package is not auto-updated.
Last update: 2025-10-12 01:02:54 UTC
README
Package contain engine to help basic API Post & Request.
Require
Guzzlehttp/guzzle": "~5.3"
Installation
composer.json:
"thunderid/APIHelper": "dev-master"
run
composer update
composer dump-autoload
Usage
ENV setting
- Domain API_domain="YOUR DOMAIN"
- Port (if your domain use port. if you don't, you dont need to configure it on your env) API_port="YOUR PORT"
- Timeout (set custom waiting timout. Don't configure if you want use default value) API_timeout="time interval"
service provider
'ThunderID\APIHelper\ThunderAPIHelperServiceProvider::class'
Aliases
- API connector desc : to comunicate (post/get) data (to/from) api
'API' => ThunderID\APIHelper\API\APIData::class,
- JSEND desc : to transfer data as jsend format
'JSEND' => ThunderID\APIHelper\Data\Jsend::class,