library imagga-php
A simple wrapper for Imagga API.
fabriceclementz/imagga-php
A simple wrapper for Imagga API.
- Thursday, February 16, 2017
- by fabriceclementz
- Repository
- 1 Watchers
- 1 Stars
- 879 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 15 % Grown
Imagga API Client
, (*1)
A simple wrapper for the Imagga API., (*2)
Installation
Via composer
composer require fabriceclementz/imagga-php
Usage
use GuzzleHttp\Client as HttpClient;
use Fab\Imagga\Client;
$client = new Client(new HttpClient(), 'IMAGGA_API_KEY', 'IMAGGA_API_SECRET');
$response = $client->tags('https://imagga.com/static/images/tagging/wind-farm-538576_640.jpg');
use GuzzleHttp\Client as HttpClient;
use Fab\Imagga\Client;
$client = new Client(new HttpClient(), 'IMAGGA_API_KEY', 'IMAGGA_API_SECRET');
$response = $client->colors('https://imagga.com/static/images/tagging/wind-farm-538576_640.jpg');
Testing
composer test