File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,20 @@ I added functionality to use of laravel bulit in config cache helper which was h
10
10
So, I converted it to use the api_key from config which can be defined to load from ` env ` and still use the
11
11
` php artisan config:cache command ` and it works.
12
12
13
+ ### For Laravel < 5.5, please use the [ 1.0.2 Tag] ( https://github.com/msonowal/laravel-tinify/tree/1.0.2 ) !
14
+
13
15
## Installation
14
16
15
- Install via composer by adding the following to your composer.json :
17
+ Install the package via Composer :
16
18
17
- ``` json
18
- ...
19
- "require" : {
20
- "msonowal/laravel-tinify" : " ~1.0"
21
- }
22
- ...
23
19
```
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 ```
24
26
25
- Add service provider to ``` config/app.php ``` :
26
27
27
28
``` php
28
29
...
Original file line number Diff line number Diff line change 12
12
],
13
13
"require" : {
14
14
"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 " ,
16
16
"tinify/tinify" :" ~1.1"
17
17
},
18
18
"autoload" : {
You can’t perform that action at this time.
0 commit comments