File tree Expand file tree Collapse file tree 4 files changed +1434
-540
lines changed Expand file tree Collapse file tree 4 files changed +1434
-540
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,28 @@ public function boot()
23
23
*/
24
24
public function register ()
25
25
{
26
- //
26
+ //
27
+ // environment specific application initialization
28
+ //
29
+ switch ( $ this ->app ->environment () )
30
+ {
31
+ // development env
32
+ case 'local ' :
33
+ if ( $ this ->app ->runningInConsole () )
34
+ {
35
+ // Some dev tools to generate some code completion helpers (some fake php files)
36
+ $ this ->app ->register (\Barryvdh \LaravelIdeHelper \IdeHelperServiceProvider::class);
37
+ }
38
+ // A 'in browser' debug bar
39
+ $ this ->app ->register (\Barryvdh \Debugbar \ServiceProvider::class);
40
+ break ;
41
+ // testing env
42
+ case '' :
43
+ break ;
44
+ // production env
45
+ case '' :
46
+ break ;
47
+ }
48
+
27
49
}
28
50
}
Original file line number Diff line number Diff line change 30
30
"mockery/mockery" : " 0.9.*" ,
31
31
"phpunit/phpunit" : " ~4.0" ,
32
32
"symfony/css-selector" : " 2.8.*|3.0.*" ,
33
- "symfony/dom-crawler" : " 2.8.*|3.0.*"
33
+ "symfony/dom-crawler" : " 2.8.*|3.0.*" ,
34
+ "barryvdh/laravel-debugbar" : " ^2.3" ,
35
+ "barryvdh/laravel-ide-helper" : " ^2.2" ,
36
+ "doctrine/dbal" : " ^2.5"
34
37
},
35
38
"autoload" : {
36
39
"classmap" : [
You can’t perform that action at this time.
0 commit comments