-
Notifications
You must be signed in to change notification settings - Fork 0
/
playground.php
55 lines (46 loc) · 1.58 KB
/
playground.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
declare(strict_types=1);
return [
'about' => (bool) env('PLAYGROUND_ABOUT', true),
/*
|--------------------------------------------------------------------------
| Loading
|--------------------------------------------------------------------------
|
| By default, migrations are disabled.
|
*/
'load' => [
'migrations' => (bool) env('PLAYGROUND_LOAD_MIGRATIONS', false),
],
/*
|--------------------------------------------------------------------------
| Packages
|--------------------------------------------------------------------------
|
| The array of packages from PLAYGROUND_PACKAGES will be listed in the
| Playground section in artisan:about.
|
| - These packages will have their respective sitemaps loaded, if applicable.
|
| NOTE: PLAYGROUND_AUTH_PACKAGES may also be defined to load abilities.
|
*/
'packages' => is_string(env('PLAYGROUND_PACKAGES', 'playground')) ? array_map(
'trim',
explode(',', env('PLAYGROUND_PACKAGES', 'playground'))
) : [],
/*
|--------------------------------------------------------------------------
| Date
|--------------------------------------------------------------------------
|
| PLAYGROUND_DATE_SQL is used to format dates for SQL handling. Where possible
| Illuminate\Support\Carbon is use to handle dates, including formatting.
|
| @see \Illuminate\Database\Eloquent\Concerns::getDateFormat()
*/
'date' => [
'sql' => env('PLAYGROUND_DATE_SQL', 'Y-m-d H:i:s'),
],
];