Permalink
Browse files

add barryvdh/laravel-debugbar and barryvdh/laravel-ide-helper

  • Loading branch information...
1 parent b858332 commit 4a518c9f7433fffef85f9fa505c8afd75173fea2 @Cyrille37 Cyrille37 committed Jan 28, 2017
Showing with 1,434 additions and 540 deletions.
  1. +23 −1 app/Providers/AppServiceProvider.php
  2. +4 −1 composer.json
  3. +1,405 −538 composer.lock
  4. +2 −0 storage/debugbar/.gitignore
@@ -23,6 +23,28 @@ public function boot()
*/
public function register()
{
- //
+ //
+ // environment specific application initialization
+ //
+ switch( $this->app->environment() )
+ {
+ // development env
+ case 'local':
+ if( $this->app->runningInConsole() )
+ {
+ // Some dev tools to generate some code completion helpers (some fake php files)
+ $this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);
+ }
+ // A 'in browser' debug bar
+ $this->app->register(\Barryvdh\Debugbar\ServiceProvider::class);
+ break;
+ // testing env
+ case '':
+ break;
+ // production env
+ case '':
+ break;
+ }
+
}
}
View
@@ -30,7 +30,10 @@
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~4.0",
"symfony/css-selector": "2.8.*|3.0.*",
- "symfony/dom-crawler": "2.8.*|3.0.*"
+ "symfony/dom-crawler": "2.8.*|3.0.*",
+ "barryvdh/laravel-debugbar": "^2.3",
+ "barryvdh/laravel-ide-helper": "^2.2",
+ "doctrine/dbal": "^2.5"
},
"autoload": {
"classmap": [
Oops, something went wrong.

0 comments on commit 4a518c9

Please sign in to comment.