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 2222 "Flynsarmy\\ DbBladeCompiler\\ " : " src/"
2323 }
2424 },
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
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
You can’t perform that action at this time.
0 commit comments