定制 jeroen-g/flickr 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

jeroen-g/flickr

最新稳定版本:V2.2.0

Composer 安装命令:

composer require jeroen-g/flickr

包简介

Modern PHP package to make Flickr API calls. Ships with Laravel implementation.

README 文档

README

Latest Version on Packagist StyleCI

Modern PHP package to make Flickr API calls. Ships with Laravel implementation.

Install

Via Composer

$ composer require jeroen-g/flickr

Usage

General

// $key is your Flickr API key. $format is optional, it sets the Flickr response format. $flickr = new JeroenG\Flickr\Flickr(new JeroenG\Flickr\Api($key, $format)); // https://www.flickr.com/services/api/flickr.test.echo.html $echoTest = $flickr->echoThis('helloworld'); // https://www.flickr.com/services/api/flickr.photosets.getList.html $photosets = $flickr->listSets($arrayOfParameters); // Setting up other API requests. See https://www.flickr.com/services/api $result = $flickr->request('flickr.method', $arrayOfParameters);

Laravel

Add the Service Provider and (optionally) the facade to config/app.php: JeroenG\Flickr\FlickrServiceProvider::class, 'Flickr' => JeroenG\Flickr\FlickrLaravelFacade::class, This is done automatically in Laravel 5.5 with package discovery. In your .env file, set a FLICKR_KEY with your Flickr API key and add the following entry to the config/services.php file:

'flickr' => [ 'key' => env('FLICKR_KEY'), ], 

More information on this is found here.

The functions act mostly the same as above, for example:

$echoTest = Flickr::echoThis('helloworld');

Change log

Please see the changelog for more information what has changed recently.

Contributing

Please see contributing for details.

Credits

License

The EUPL License. Please see the License File for more information.

统计信息

  • 总下载量: 57.85k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 26
  • 点击次数: 3
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 25
  • Watchers: 3
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: EUPL-1.1
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固