Adam Pippin
3 years ago
3 changed files with 141 additions and 137 deletions
@ -1,28 +1,28 @@ |
|||||
<?php |
<?php |
||||
|
|
||||
|
declare(strict_types=1); |
||||
|
|
||||
namespace App\Providers; |
namespace App\Providers; |
||||
|
|
||||
use Illuminate\Support\ServiceProvider; |
use Illuminate\Support\ServiceProvider; |
||||
|
|
||||
class AppServiceProvider extends ServiceProvider |
class AppServiceProvider extends ServiceProvider |
||||
{ |
{ |
||||
/** |
/** |
||||
* Bootstrap any application services. |
* Bootstrap any application services. |
||||
* |
* |
||||
* @return void |
* @return void |
||||
*/ |
*/ |
||||
public function boot() |
public function boot() |
||||
{ |
{ |
||||
// |
} |
||||
} |
|
||||
|
|
||||
/** |
/** |
||||
* Register any application services. |
* Register any application services. |
||||
* |
* |
||||
* @return void |
* @return void |
||||
*/ |
*/ |
||||
public function register() |
public function register() |
||||
{ |
{ |
||||
// |
} |
||||
} |
|
||||
} |
} |
||||
|
@ -1,60 +1,62 @@ |
|||||
<?php |
<?php |
||||
|
|
||||
|
declare(strict_types=1); |
||||
|
|
||||
return [ |
return [ |
||||
|
|
||||
/* |
/* |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| Application Name |
| Application Name |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| |
| |
||||
| This value is the name of your application. This value is used when the |
| This value is the name of your application. This value is used when the |
||||
| framework needs to place the application's name in a notification or |
| framework needs to place the application's name in a notification or |
||||
| any other location as required by the application or its packages. |
| any other location as required by the application or its packages. |
||||
| |
| |
||||
*/ |
*/ |
||||
|
|
||||
'name' => 'Cfnpp', |
'name' => 'Cfnpp', |
||||
|
|
||||
/* |
/* |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| Application Version |
| Application Version |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| |
| |
||||
| This value determines the "version" your application is currently running |
| This value determines the "version" your application is currently running |
||||
| in. You may want to follow the "Semantic Versioning" - Given a version |
| in. You may want to follow the "Semantic Versioning" - Given a version |
||||
| number MAJOR.MINOR.PATCH when an update happens: https://semver.org. |
| number MAJOR.MINOR.PATCH when an update happens: https://semver.org. |
||||
| |
| |
||||
*/ |
*/ |
||||
|
|
||||
'version' => app('git.version'), |
'version' => app('git.version'), |
||||
|
|
||||
/* |
/* |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| Application Environment |
| Application Environment |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| |
| |
||||
| This value determines the "environment" your application is currently |
| This value determines the "environment" your application is currently |
||||
| running in. This may determine how you prefer to configure various |
| running in. This may determine how you prefer to configure various |
||||
| services the application utilizes. This can be overridden using |
| services the application utilizes. This can be overridden using |
||||
| the global command line "--env" option when calling commands. |
| the global command line "--env" option when calling commands. |
||||
| |
| |
||||
*/ |
*/ |
||||
|
|
||||
'env' => 'development', |
'env' => 'development', |
||||
|
|
||||
/* |
/* |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| Autoloaded Service Providers |
| Autoloaded Service Providers |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| |
| |
||||
| The service providers listed here will be automatically loaded on the |
| The service providers listed here will be automatically loaded on the |
||||
| request to your application. Feel free to add your own services to |
| request to your application. Feel free to add your own services to |
||||
| this array to grant expanded functionality to your applications. |
| this array to grant expanded functionality to your applications. |
||||
| |
| |
||||
*/ |
*/ |
||||
|
|
||||
'providers' => [ |
'providers' => [ |
||||
App\Providers\AppServiceProvider::class, |
App\Providers\AppServiceProvider::class, |
||||
], |
], |
||||
|
|
||||
]; |
]; |
||||
|
@ -1,80 +1,82 @@ |
|||||
<?php |
<?php |
||||
|
|
||||
|
declare(strict_types=1); |
||||
|
|
||||
return [ |
return [ |
||||
|
|
||||
/* |
/* |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| Default Command |
| Default Command |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| |
| |
||||
| Laravel Zero will always run the command specified below when no command name is |
| Laravel Zero will always run the command specified below when no command name is |
||||
| provided. Consider update the default command for single command applications. |
| provided. Consider update the default command for single command applications. |
||||
| You cannot pass arguments to the default command because they are ignored. |
| You cannot pass arguments to the default command because they are ignored. |
||||
| |
| |
||||
*/ |
*/ |
||||
|
|
||||
'default' => NunoMaduro\LaravelConsoleSummary\SummaryCommand::class, |
'default' => NunoMaduro\LaravelConsoleSummary\SummaryCommand::class, |
||||
|
|
||||
/* |
/* |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| Commands Paths |
| Commands Paths |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| |
| |
||||
| This value determines the "paths" that should be loaded by the console's |
| This value determines the "paths" that should be loaded by the console's |
||||
| kernel. Foreach "path" present on the array provided below the kernel |
| kernel. Foreach "path" present on the array provided below the kernel |
||||
| will extract all "Illuminate\Console\Command" based class commands. |
| will extract all "Illuminate\Console\Command" based class commands. |
||||
| |
| |
||||
*/ |
*/ |
||||
|
|
||||
'paths' => [app_path('Commands')], |
'paths' => [app_path('Commands')], |
||||
|
|
||||
/* |
/* |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| Added Commands |
| Added Commands |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| |
| |
||||
| You may want to include a single command class without having to load an |
| You may want to include a single command class without having to load an |
||||
| entire folder. Here you can specify which commands should be added to |
| entire folder. Here you can specify which commands should be added to |
||||
| your list of commands. The console's kernel will try to load them. |
| your list of commands. The console's kernel will try to load them. |
||||
| |
| |
||||
*/ |
*/ |
||||
|
|
||||
'add' => [ |
'add' => [ |
||||
// .. |
// .. |
||||
], |
], |
||||
|
|
||||
/* |
/* |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| Hidden Commands |
| Hidden Commands |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| |
| |
||||
| Your application commands will always be visible on the application list |
| Your application commands will always be visible on the application list |
||||
| of commands. But you can still make them "hidden" specifying an array |
| of commands. But you can still make them "hidden" specifying an array |
||||
| of commands below. All "hidden" commands can still be run/executed. |
| of commands below. All "hidden" commands can still be run/executed. |
||||
| |
| |
||||
*/ |
*/ |
||||
|
|
||||
'hidden' => [ |
'hidden' => [ |
||||
NunoMaduro\LaravelConsoleSummary\SummaryCommand::class, |
NunoMaduro\LaravelConsoleSummary\SummaryCommand::class, |
||||
Symfony\Component\Console\Command\HelpCommand::class, |
Symfony\Component\Console\Command\HelpCommand::class, |
||||
Illuminate\Console\Scheduling\ScheduleRunCommand::class, |
Illuminate\Console\Scheduling\ScheduleRunCommand::class, |
||||
Illuminate\Console\Scheduling\ScheduleFinishCommand::class, |
Illuminate\Console\Scheduling\ScheduleFinishCommand::class, |
||||
Illuminate\Foundation\Console\VendorPublishCommand::class, |
Illuminate\Foundation\Console\VendorPublishCommand::class, |
||||
], |
], |
||||
|
|
||||
/* |
/* |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| Removed Commands |
| Removed Commands |
||||
|-------------------------------------------------------------------------- |
|-------------------------------------------------------------------------- |
||||
| |
| |
||||
| Do you have a service provider that loads a list of commands that |
| Do you have a service provider that loads a list of commands that |
||||
| you don't need? No problem. Laravel Zero allows you to specify |
| you don't need? No problem. Laravel Zero allows you to specify |
||||
| below a list of commands that you don't to see in your app. |
| below a list of commands that you don't to see in your app. |
||||
| |
| |
||||
*/ |
*/ |
||||
|
|
||||
'remove' => [ |
'remove' => [ |
||||
// .. |
// .. |
||||
], |
], |
||||
|
|
||||
]; |
]; |
||||
|
Loading…
Reference in new issue