jeroen-g/flickr
Larablocks Analysis
jeroen-g/flickr works with any PHP project: the latest release (V2.2.0, May 11, 2021) doesn't depend on Laravel.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- No release in the last 12 months (last: May 11, 2021)
- 780 downloads a month (needs 10,000)
- 25 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: May 11, 2021.
- No releases in the last 12 months.
- First released: May 29, 2016.
- Monthly downloads: 780, down 28% from six months ago.
- 2 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.
| Install | |
|---|---|
composer require jeroen-g/flickr |
|
| Latest Version: | V2.2.0 |
| PHP: | ^7.4 || ^8.0 |
| License: | EUPL-1.1 |
| Last Updated: | May 11, 2021 |
| Links: | GitHub · Packagist |
PHP Flickr API
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.
Related Packages
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| V2.2.0 | ^7.4 || | EUPL-1.1 | |
| V2.0.1 | ^7.4 | EUPL-1.1 | |
| V2.0 | ^7.4 | EUPL-1.1 | |
| V1.3 | EUPL-1.1 | ||
| v1.2 | EUPL-1.1 | ||
| V1.1.1 | EUPL-1.1 | ||
| v1.1 | EUPL-1.1 | ||
| v1.0 | ~5.5| | EUPL-1.1 |