sunscreem/laravel-flickr-gallery 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sunscreem/laravel-flickr-gallery

Composer 安装命令:

composer require sunscreem/laravel-flickr-gallery

包简介

Simple way to connect a flickr album to your website

README 文档

README

Latest Version on Packagist Software License Total Downloads

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

Installation

First, install the package via composer:

composer require sunscreem/laravel-flickr-gallery

The 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 migrate

Configuration

Set 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]

Usage

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:pull

Finally, view the gallery on your website by visiting your-site.com/gallery.

Credits

Support

If you have found this package helpful please consider buying Rob a beer!

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 38
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-03-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固