diff --git a/artisan b/artisan new file mode 100644 index 000000000..44dc07b0e --- /dev/null +++ b/artisan @@ -0,0 +1,51 @@ +#!/usr/bin/env php +make(Illuminate\Contracts\Console\Kernel::class); + +$status = $kernel->handle( + $input = new Symfony\Component\Console\Input\ArgvInput, + new Symfony\Component\Console\Output\ConsoleOutput +); + +/* +|-------------------------------------------------------------------------- +| Shutdown The Application +|-------------------------------------------------------------------------- +| +| Once Artisan has finished running, we will fire off the shutdown events +| so that any final work may be done by the application before we shut +| down the process. This is the last thing to happen to the request. +| +*/ + +$kernel->terminate($input, $status); + +exit($status); diff --git a/config/app.php b/config/app.php index a1b753afc..18c615493 100644 --- a/config/app.php +++ b/config/app.php @@ -17,7 +17,10 @@ return [ FilesystemServiceProvider::class, CacheServiceProvider::class, ViewServiceProvider::class, - \Illuminate\Database\DatabaseServiceProvider::class, + Illuminate\Database\DatabaseServiceProvider::class, + Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, + Illuminate\Queue\QueueServiceProvider::class, + Illuminate\Translation\TranslationServiceProvider::class, ],