|
1 | 1 | <?php
|
2 | 2 |
|
3 |
| -/* |
4 |
| - * Here goes the application configuration. |
5 |
| - */ |
6 | 3 | return [
|
| 4 | + |
7 | 5 | /*
|
8 |
| - * Here goes the application name. |
9 |
| - */ |
| 6 | + |-------------------------------------------------------------------------- |
| 7 | + | Application Name |
| 8 | + |-------------------------------------------------------------------------- |
| 9 | + | |
| 10 | + | This value is the name of your application. This value is used when the |
| 11 | + | framework needs to place the application's name in a notification or |
| 12 | + | any other location as required by the application or its packages. |
| 13 | + | |
| 14 | + */ |
10 | 15 | 'name' => 'Laravel Zero',
|
11 | 16 |
|
12 | 17 | /*
|
13 |
| - * Here goes the application version. |
14 |
| - */ |
| 18 | + |-------------------------------------------------------------------------- |
| 19 | + | Application Version |
| 20 | + |-------------------------------------------------------------------------- |
| 21 | + | |
| 22 | + | This value determines the "version" your application is currently running |
| 23 | + | in. You may want to follow the "Semantic Versioning" - Given a version |
| 24 | + | number MAJOR.MINOR.PATCH when an update happens: https://semver.org. |
| 25 | + | |
| 26 | + */ |
15 | 27 | 'version' => '1.0.0',
|
16 | 28 |
|
17 | 29 | /*
|
18 |
| - * Here goes the application default command. By default |
19 |
| - * the list of commands will appear. All commands |
20 |
| - * application commands will be auto-detected. |
21 |
| - * |
22 |
| - * 'default-command' => App\Commands\HelloCommand::class, |
| 30 | + |-------------------------------------------------------------------------- |
| 31 | + | Application Default Command |
| 32 | + |-------------------------------------------------------------------------- |
| 33 | + | |
| 34 | + | Laravel Zero will always run the command specified below when no command name is |
| 35 | + | provided. Consider change the default command specifing another command class. |
| 36 | + | You cannot pass arguments to the default command because they are ignored. |
| 37 | + | |
23 | 38 | */
|
| 39 | + 'default-command' => Symfony\Component\Console\Command\ListCommand::class, |
24 | 40 |
|
25 | 41 | /*
|
26 |
| - * If true, development commands won't be available as the app |
27 |
| - * will be in the production environment. |
28 |
| - */ |
| 42 | + |-------------------------------------------------------------------------- |
| 43 | + | Application Environment |
| 44 | + |-------------------------------------------------------------------------- |
| 45 | + | |
| 46 | + | This value determines the "environment" your application is currently |
| 47 | + | running in. This may determine how you prefer to configure various |
| 48 | + | services your application utilizes. Should be true in production. |
| 49 | + | |
| 50 | + */ |
29 | 51 | 'production' => false,
|
30 | 52 |
|
31 | 53 | /*
|
32 |
| - * If true, scheduler commands will be available. |
33 |
| - */ |
| 54 | + |-------------------------------------------------------------------------- |
| 55 | + | Scheduler |
| 56 | + |-------------------------------------------------------------------------- |
| 57 | + | |
| 58 | + | Laravel Zero's command scheduler allows you to fluently and expressively define |
| 59 | + | your command schedule. When using the scheduler, only a single Cron entry is |
| 60 | + | needed on your server. Your task schedule is defined on each command class. |
| 61 | + | |
| 62 | + */ |
34 | 63 | 'with-scheduler' => true,
|
35 | 64 |
|
36 | 65 | /*
|
37 |
| - * Here goes the application list of Laravel Service Providers. |
38 |
| - * Enjoy all the power of Laravel on your console. |
39 |
| - */ |
| 66 | + |-------------------------------------------------------------------------- |
| 67 | + | Autoloaded Service Providers |
| 68 | + |-------------------------------------------------------------------------- |
| 69 | + | |
| 70 | + | The service providers listed here will be automatically loaded on the |
| 71 | + | request to your application. Feel free to add your own services to |
| 72 | + | this array to grant expanded functionality to your applications. |
| 73 | + | |
| 74 | + */ |
40 | 75 | 'providers' => [
|
41 | 76 | App\Providers\AppServiceProvider::class,
|
42 | 77 | ],
|
| 78 | + |
43 | 79 | ];
|
0 commit comments