Flickr has some great tools for uploading, storing and editing your photos. This package uses the flickr API to bring those photo to your own website.
It includes an optional lightbox/swipeable photo gallery.
This package has only been tested on Laravel >= 5.5
First, install the package via composer:
composer require sunscreem/laravel-flickr-galleryThe package will automatically register itself.
Now publish the configuration file and example view:
php artisan vendor:publish --provider="Sunscreem\LaravelFlickrGallery\LaravelFlickrGalleryServiceProvider"Now add the following route to your routes\web.php file:
Route::get('/gallery', function () {
     return view('vendor.laravel-flickr-gallery.simple-photo-gallery');
 });Finally perform the migration:
php artisan migrateSet your flickr user id, key and secret in your .env file.
Here's a guide on finding your Flickr ID.
And here's how to generate your API key and secret.
FLICKR_USER_ID_TO_FETCH=1234567890@N00
FLICKR_KEY=[your-flickr-key]
FLICKR_SECRET=[your-flickr-secret]Using php artisan you can pull in the latest photos from Flickr. You can, of course, schedule this to run in the background:
php artisan flickr:pullFinally, view the gallery on your website by visiting your-site.com/gallery.
If you have found this package helpful please consider buying Rob a beer!
The MIT License (MIT). Please see License File for more information.