Skip to content

Commit 75177dc

Browse files
committed
Release v1.1 and update Laravel support
1 parent d255696 commit 75177dc

3 files changed

Lines changed: 19 additions & 6 deletions

File tree

changelog.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Changelog
22

3-
All Notable changes will be documented in this file.
3+
All notable changes will be documented in this file.
44

5-
## Version 0.1 - to be released
5+
## Version 1.1
6+
7+
### Added
8+
- Support for Laravel 5.5
9+
10+
### Fixed
11+
- Default API call set to php_serial instead of rest.
12+
13+
## Version 1.0
614

715
### Added
816
- Ability to make basic API calls to Flickr.

composer.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@
1818
}
1919
],
2020
"require": {
21-
"php" : "~5.5|~7.0",
2221
"guzzlehttp/guzzle" : "~6.0"
2322
},
2423
"require-dev": {
25-
"phpunit/phpunit" : "4.*"
24+
"phpunit/phpunit" : "~6.0"
2625
},
2726
"suggest": {
2827
"illuminate/support": "This package provides a Laravel Service Provider"
@@ -33,8 +32,13 @@
3332
}
3433
},
3534
"extra": {
36-
"branch-alias": {
37-
"dev-master": "1.0-dev"
35+
"laravel": {
36+
"providers": [
37+
"JeroenG\\Flickr\\FlickrServiceProvider"
38+
],
39+
"aliases": {
40+
"Activity": "JeroenG\\Flickr\\FlickrLaravelFacade"
41+
}
3842
}
3943
}
4044
}

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ $result = $flickr->request('flickr.method', $arrayOfParameters);
3737
Add the Service Provider and (optionally) the facade to config/app.php:
3838
`JeroenG\Flickr\FlickrServiceProvider::class,`
3939
`'Flickr' => JeroenG\Flickr\FlickrLaravelFacade::class,`
40+
This is done automatically in Laravel 5.5 with package discovery.
4041
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/).
4142

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

0 commit comments

Comments
 (0)