diff --git a/src/Illuminate/Foundation/Console/Kernel.php b/src/Illuminate/Foundation/Console/Kernel.php index c4aa71d475f5..c51eccd5b464 100644 --- a/src/Illuminate/Foundation/Console/Kernel.php +++ b/src/Illuminate/Foundation/Console/Kernel.php @@ -293,13 +293,13 @@ public function bootstrap() $this->app->bootstrapWith($this->bootstrappers()); } + $this->app->loadDeferredProviders(); + if (! $this->commandsLoaded) { $this->commands(); $this->commandsLoaded = true; } - - $this->app->loadDeferredProviders(); } /**