chuoke / image-gallery
A unified package of images for access to image sites.
Fund package maintenance!
chuoke
0.0.3
2021-08-07 15:02 UTC
Requires
- php: ^8.0
- guzzlehttp/guzzle: ^7.3
- illuminate/http: ^8.49
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.17
- phpunit/phpunit: ^9.5
- vimeo/psalm: ^4.3
README
Installation
You can install the package via composer:
composer require chuoke/image-gallery
Usage
$config = [ 'default' => 'bing', 'drivers' => [ 'pexels' => [ 'api_key' => 'your-api-key', ], 'unsplash' => [ 'access_key' => 'your-access-key', ], ], ]; $imageGallery = (new \Chuoke\ImageGallery\ImageGalleryFactory($config))->gallery('pexels'); $images = $imageGallery->get();
License
The MIT License (MIT). Please see License File for more information.