diff --git a/changelog.md b/changelog.md index 5cc5c04..ddc5dcc 100644 --- a/changelog.md +++ b/changelog.md @@ -1,8 +1,16 @@ # Changelog -All Notable changes will be documented in this file. +All notable changes will be documented in this file. -## Version 0.1 - to be released +## Version 1.1 + +### Added +- Support for Laravel 5.5 + +### Fixed +- Default API call set to php_serial instead of rest. + +## Version 1.0 ### Added - Ability to make basic API calls to Flickr. diff --git a/composer.json b/composer.json index aaacf18..edb1858 100644 --- a/composer.json +++ b/composer.json @@ -18,11 +18,10 @@ } ], "require": { - "php" : "~5.5|~7.0", "guzzlehttp/guzzle" : "~6.0" }, "require-dev": { - "phpunit/phpunit" : "4.*" + "phpunit/phpunit" : "~6.0" }, "suggest": { "illuminate/support": "This package provides a Laravel Service Provider" @@ -33,8 +32,13 @@ } }, "extra": { - "branch-alias": { - "dev-master": "1.0-dev" + "laravel": { + "providers": [ + "JeroenG\\Flickr\\FlickrServiceProvider" + ], + "aliases": { + "Activity": "JeroenG\\Flickr\\FlickrLaravelFacade" + } } } } diff --git a/readme.md b/readme.md index bc4d484..d4b9bab 100644 --- a/readme.md +++ b/readme.md @@ -37,6 +37,7 @@ $result = $flickr->request('flickr.method', $arrayOfParameters); 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` and `FLICKR_SECRET` with your Flickr API key and secret. More information on this is found [here](https://www.flickr.com/services/api/keys/). The functions act mostly the same as above, for example: