Skip to content

Commit

Permalink
Release v1.1 and update Laravel support
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen-G committed Oct 23, 2017
1 parent d255696 commit 75177dc
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
12 changes: 10 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
12 changes: 8 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -33,8 +32,13 @@
}
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
"laravel": {
"providers": [
"JeroenG\\Flickr\\FlickrServiceProvider"
],
"aliases": {
"Activity": "JeroenG\\Flickr\\FlickrLaravelFacade"
}
}
}
}
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 75177dc

Please sign in to comment.