quintype / api
Installs: 13 535
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 60
Forks: 1
Open Issues: 0
Requires
- guzzlehttp/guzzle: ^6.2
- dev-master
- 1.16.6
- 1.16.5
- 1.16.4
- 1.16.3
- 1.16.2
- 1.16.1
- 1.16.0
- 1.15.3
- 1.15.2
- 1.15.1
- 1.15.0
- 1.14.3
- 1.14.2
- 1.14.1
- 1.14.0
- 1.13.1
- 1.13.0
- 1.12.1
- 1.12.0
- 1.11.2
- 1.11.1
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
This package is not auto-updated.
Last update: 2024-11-14 22:46:33 UTC
README
A php composer plugin for communication with sketches api
##How to use To use this package in your project, follow the steps below.
In composer.json, require this package.
"require": { ... ... "quintype/api":"1.0.0", },
Install or update the composer packages.
$ composer install or $ composer update
In the Laravel config/app.php file, give an alias to the API class for convenience.
'aliases' => [ ... ... 'Api' => Quintype\Api\Api::class ],
Include the API class in necessary controllers.
use Api;
Create an instance(Pass api-host to it).
$this->client = new Api(config("quintype.api-host"));
Use the above created instance to call required functions. For example,
$this->client->config(); $this->client->storyBySlug(["slug"=> $slug]);