2017 © Pedro Peláez
 

library flickr

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

image

jeroen-g/flickr

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

  • Friday, January 26, 2018
  • by JeroenG
  • Repository
  • 3 Watchers
  • 19 Stars
  • 6,853 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 4 Versions
  • 21 % Grown

The README.md

PHP Flickr API

Latest Version on Packagist StyleCI, (*1)

Modern PHP package to make Flickr API calls. Ships with Laravel implementation., (*2)

Install

Via Composer, (*3)

``` bash $ composer require jeroen-g/flickr, (*4)


## Usage ### General ```php // $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:, (*5)

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

More information on this is found here., (*6)

The functions act mostly the same as above, for example:, (*7)

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

Change log

Please see the changelog for more information what has changed recently., (*8)

Contributing

Please see contributing for details., (*9)

Credits

License

The EUPL License. Please see the License File for more information., (*10)

The Versions

26/01 2018

dev-master

9999999-dev https://github.com/Jeroen-G/Flickr

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

  Sources   Download

EUPL-1.1

The Requires

 

The Development Requires

laravel api php flickr jeroeng

26/01 2018

V1.1.1

1.1.1.0 https://github.com/Jeroen-G/Flickr

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

  Sources   Download

EUPL-1.1

The Requires

 

The Development Requires

laravel api php flickr jeroeng

23/10 2017

v1.1

1.1.0.0 https://github.com/Jeroen-G/Flickr

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

  Sources   Download

EUPL-1.1

The Requires

 

The Development Requires

laravel api php flickr jeroeng

29/05 2016

v1.0

1.0.0.0 https://github.com/Jeroen-G/Flickr

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

  Sources   Download

EUPL-1.1

The Requires

 

The Development Requires

laravel api php flickr jeroeng