Skip to content

Commit 30b294d

Browse files
Added auto discovery information.
1 parent 2d0f569 commit 30b294d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ Require this package in your composer.json and run composer update (or run `comp
3131

3232
"flynsarmy/db-blade-compiler": "*"
3333

34-
After updating composer, add the ServiceProvider to the providers array in app/config/app.php
34+
The DbBladeCompilerServiceProvider is auto-discovered and registered by default, but if you want to register it yourself:
35+
add the ServiceProvider to the providers array in app/config/app.php
3536

3637
'Flynsarmy\DbBladeCompiler\DbBladeCompilerServiceProvider',
3738

38-
and the Facade to the aliases array in the same file
39+
and the DbView facade is also auto-discovered, but if you want to add it manually:
40+
add the Facade to the aliases array in config/app.php
3941

4042
'DbView' => 'Flynsarmy\DbBladeCompiler\Facades\DbView',
4143

0 commit comments

Comments
 (0)