heleonprime / birdseye
BirdsEye Imagine package
dev-master
2017-11-30 09:23 UTC
Requires
- guzzlehttp/guzzle: ~5.0
- guzzlehttp/retry-subscriber: ~2.0
- intervention/image: ^2.3
This package is not auto-updated.
Last update: 2025-03-30 07:51:27 UTC
README
Requirements
- PHP 5.6.x or higher
- intervention/image v2.3
- guzzlehttp/guzzle v5.*
- BirdsEye API key
Usage
Step 1: Install Through Composer
composer require heleonprime/birdseye:dev-master
Step 2: Include BirdsEye model class
use Heleonprime\Birdseye\Models\Birdseye;
Step 3: Create class instance and get image
$birdseye = (new Birdseye($latitude, $longitude))->getImage();
Also you can resize image and return it's response
$birdseye->resizeToWidth($resizeWidth); return $birdseye->response();