diff --git a/src/LaravelGoogleTranslateServiceProvider.php b/src/LaravelGoogleTranslateServiceProvider.php index 88edcfe..dd8c185 100644 --- a/src/LaravelGoogleTranslateServiceProvider.php +++ b/src/LaravelGoogleTranslateServiceProvider.php @@ -14,11 +14,9 @@ class LaravelGoogleTranslateServiceProvider extends ServiceProvider */ public function boot() { - if ($this->app->runningInConsole()) { - $this->commands([ - TranslateFilesCommand::class - ]); - } + $this->commands([ + TranslateFilesCommand::class + ]); $this->publishes([ __DIR__.'/laravel_google_translate.php' => config_path('laravel_google_translate.php'), ]);