File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,10 @@ Get it from composer
7
7
composer require despark/laravel-image-purify
8
8
```
9
9
10
- Add our service provider to ` config/app.php `
10
+ With Laravel 5.5 or newer, the package will be discovered automatically.
11
+ If you're using an older version of Laravel, add the following to your
12
+ ` config/app.php ` file:
13
+
11
14
``` php
12
15
$providers = [
13
16
...
Original file line number Diff line number Diff line change 20
20
"psr-4" : {
21
21
"Despark\\ Laravel\\ ImagePurify\\ " : " src"
22
22
}
23
+ },
24
+ "extra" : {
25
+ "laravel" : {
26
+ "providers" : [
27
+ " Despark\\ Laravel\\ ImagePurify\\ ImagePurifyServiceProvider"
28
+ ],
29
+ "aliases" : {
30
+ "ImagePurify" : " Despark\\ Laravel\\ ImagePurify\\ Facades\\ ImagePurify"
31
+ }
32
+ }
23
33
}
24
34
}
You can’t perform that action at this time.
0 commit comments