Skip to content

Commit 2c5b19c

Browse files
committed
Cleans config docs
1 parent dddac4c commit 2c5b19c

File tree

1 file changed

+56
-20
lines changed

1 file changed

+56
-20
lines changed

Diff for: config/app.php

+56-20
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,79 @@
11
<?php
22

3-
/*
4-
* Here goes the application configuration.
5-
*/
63
return [
4+
75
/*
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+
*/
1015
'name' => 'Laravel Zero',
1116

1217
/*
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+
*/
1527
'version' => '1.0.0',
1628

1729
/*
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+
|
2338
*/
39+
'default-command' => Symfony\Component\Console\Command\ListCommand::class,
2440

2541
/*
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+
*/
2951
'production' => false,
3052

3153
/*
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+
*/
3463
'with-scheduler' => true,
3564

3665
/*
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+
*/
4075
'providers' => [
4176
App\Providers\AppServiceProvider::class,
4277
],
78+
4379
];

0 commit comments

Comments
 (0)