File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 22
22
"Flynsarmy\\ DbBladeCompiler\\ " : " src/"
23
23
}
24
24
},
25
- "minimum-stability" : " stable"
26
- }
25
+ "minimum-stability" : " stable" ,
26
+ "extra" : {
27
+ "laravel" : {
28
+ "providers" : [
29
+ " Flynsarmy\\ DbBladeCompiler\\ DbBladeCompilerServiceProvider"
30
+ ],
31
+ "aliases" : {
32
+ "DbView" : " Flynsarmy\\ DbBladeCompiler\\ Facades\\ DbView"
33
+ }
34
+ }
35
+ }
36
+ }
Original file line number Diff line number Diff line change @@ -31,11 +31,13 @@ Require this package in your composer.json and run composer update (or run `comp
31
31
32
32
"flynsarmy/db-blade-compiler": "*"
33
33
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
35
36
36
37
'Flynsarmy\DbBladeCompiler\DbBladeCompilerServiceProvider',
37
38
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
39
41
40
42
'DbView' => 'Flynsarmy\DbBladeCompiler\Facades\DbView',
41
43
You can’t perform that action at this time.
0 commit comments