Skip to content

Commit 1f19d67

Browse files
authored
Merge pull request #352 from gwleuverink/auto-discovery
Auto discovery
2 parents a2f690f + 5745fa9 commit 1f19d67

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

composer.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,16 @@
4242
"Unisharp\\Laravelfilemanager\\": "src/"
4343
}
4444
},
45-
"bin": ["bin/debug"]
45+
"bin": ["bin/debug"],
46+
"extra": {
47+
"laravel": {
48+
"providers": [
49+
"Unisharp\\Laravelfilemanager\\LaravelFilemanagerServiceProvider",
50+
"Intervention\\Image\\ImageServiceProvider"
51+
],
52+
"aliases": {
53+
"Image": "Intervention\\Image\\Facades\\Image"
54+
}
55+
}
56+
}
4657
}

docs/installation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
1. Edit `config/app.php` :
1616

17+
\* *For Laravel 5.5 and up, skip to step 3. All service providers and facades are automatically discovered.*
18+
1719
Add service providers
1820

1921
```php

0 commit comments

Comments
 (0)