Skip to content

Commit 7a914c8

Browse files
bhavinbhavin
bhavin
authored and
bhavin
committed
add laravel 5.8 support and remove 5.4 support
1 parent 9a0e40d commit 7a914c8

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,20 @@ I added functionality to use of laravel bulit in config cache helper which was h
1010
So, I converted it to use the api_key from config which can be defined to load from `env` and still use the
1111
`php artisan config:cache command` and it works.
1212

13+
### For Laravel < 5.5, please use the [1.0.2 Tag](https://github.com/msonowal/laravel-tinify/tree/1.0.2)!
14+
1315
## Installation
1416

15-
Install via composer by adding the following to your composer.json:
17+
Install the package via Composer:
1618

17-
```json
18-
...
19-
"require": {
20-
"msonowal/laravel-tinify": "~1.0"
21-
}
22-
...
2319
```
20+
composer require msonowal/laravel-tinify
21+
```
22+
23+
### Laravel 5.5+:
24+
25+
If you don't use auto-discovery, add the ServiceProvider to the providers array in ```config/app.php```
2426

25-
Add service provider to ```config/app.php```:
2627

2728
```php
2829
...

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"require": {
1414
"php": ">=5.5.0",
15-
"illuminate/support": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*",
15+
"illuminate/support": "5.5.*|5.6.*|5.7.*|5.8.x",
1616
"tinify/tinify":"~1.1"
1717
},
1818
"autoload": {

0 commit comments

Comments
 (0)