Skip to content

Commit 6624a76

Browse files
committed
Publish all config files
1 parent d488e70 commit 6624a76

15 files changed

+1417
-39
lines changed

config/app.php

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Application Name
8+
|--------------------------------------------------------------------------
9+
|
10+
| This value is the name of your application, which will be used when the
11+
| framework needs to place the application's name in a notification or
12+
| other UI elements where an application name needs to be displayed.
13+
|
14+
*/
15+
16+
'name' => env('APP_NAME', 'Laravel'),
17+
18+
/*
19+
|--------------------------------------------------------------------------
20+
| Application Environment
21+
|--------------------------------------------------------------------------
22+
|
23+
| This value determines the "environment" your application is currently
24+
| running in. This may determine how you prefer to configure various
25+
| services the application utilizes. Set this in your ".env" file.
26+
|
27+
*/
28+
29+
'env' => env('APP_ENV', 'production'),
30+
31+
/*
32+
|--------------------------------------------------------------------------
33+
| Application Debug Mode
34+
|--------------------------------------------------------------------------
35+
|
36+
| When your application is in debug mode, detailed error messages with
37+
| stack traces will be shown on every error that occurs within your
38+
| application. If disabled, a simple generic error page is shown.
39+
|
40+
*/
41+
42+
'debug' => (bool) env('APP_DEBUG', false),
43+
44+
/*
45+
|--------------------------------------------------------------------------
46+
| Application URL
47+
|--------------------------------------------------------------------------
48+
|
49+
| This URL is used by the console to properly generate URLs when using
50+
| the Artisan command line tool. You should set this to the root of
51+
| the application so that it's available within Artisan commands.
52+
|
53+
*/
54+
55+
'url' => env('APP_URL', 'http://localhost'),
56+
57+
/*
58+
|--------------------------------------------------------------------------
59+
| Application Timezone
60+
|--------------------------------------------------------------------------
61+
|
62+
| Here you may specify the default timezone for your application, which
63+
| will be used by the PHP date and date-time functions. The timezone
64+
| is set to "UTC" by default as it is suitable for most use cases.
65+
|
66+
*/
67+
68+
'timezone' => env('APP_TIMEZONE', 'UTC'),
69+
70+
/*
71+
|--------------------------------------------------------------------------
72+
| Application Locale Configuration
73+
|--------------------------------------------------------------------------
74+
|
75+
| The application locale determines the default locale that will be used
76+
| by Laravel's translation / localization methods. This option can be
77+
| set to any locale for which you plan to have translation strings.
78+
|
79+
*/
80+
81+
'locale' => env('APP_LOCALE', 'en'),
82+
83+
'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
84+
85+
'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'),
86+
87+
/*
88+
|--------------------------------------------------------------------------
89+
| Encryption Key
90+
|--------------------------------------------------------------------------
91+
|
92+
| This key is utilized by Laravel's encryption services and should be set
93+
| to a random, 32 character string to ensure that all encrypted values
94+
| are secure. You should do this prior to deploying the application.
95+
|
96+
*/
97+
98+
'cipher' => 'AES-256-CBC',
99+
100+
'key' => env('APP_KEY'),
101+
102+
'previous_keys' => [
103+
...array_filter(
104+
explode(',', env('APP_PREVIOUS_KEYS', ''))
105+
),
106+
],
107+
108+
/*
109+
|--------------------------------------------------------------------------
110+
| Maintenance Mode Driver
111+
|--------------------------------------------------------------------------
112+
|
113+
| These configuration options determine the driver used to determine and
114+
| manage Laravel's "maintenance mode" status. The "cache" driver will
115+
| allow maintenance mode to be controlled across multiple machines.
116+
|
117+
| Supported drivers: "file", "cache"
118+
|
119+
*/
120+
121+
'maintenance' => [
122+
'driver' => env('APP_MAINTENANCE_DRIVER', 'file'),
123+
'store' => env('APP_MAINTENANCE_STORE', 'database'),
124+
],
125+
126+
];

config/auth.php

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Authentication Defaults
8+
|--------------------------------------------------------------------------
9+
|
10+
| This option defines the default authentication "guard" and password
11+
| reset "broker" for your application. You may change these values
12+
| as required, but they're a perfect start for most applications.
13+
|
14+
*/
15+
16+
'defaults' => [
17+
'guard' => env('AUTH_GUARD', 'web'),
18+
'passwords' => env('AUTH_PASSWORD_BROKER', 'users'),
19+
],
20+
21+
/*
22+
|--------------------------------------------------------------------------
23+
| Authentication Guards
24+
|--------------------------------------------------------------------------
25+
|
26+
| Next, you may define every authentication guard for your application.
27+
| Of course, a great default configuration has been defined for you
28+
| which utilizes session storage plus the Eloquent user provider.
29+
|
30+
| All authentication guards have a user provider, which defines how the
31+
| users are actually retrieved out of your database or other storage
32+
| system used by the application. Typically, Eloquent is utilized.
33+
|
34+
| Supported: "session"
35+
|
36+
*/
37+
38+
'guards' => [
39+
'web' => [
40+
'driver' => 'session',
41+
'provider' => 'users',
42+
],
43+
],
44+
45+
/*
46+
|--------------------------------------------------------------------------
47+
| User Providers
48+
|--------------------------------------------------------------------------
49+
|
50+
| All authentication guards have a user provider, which defines how the
51+
| users are actually retrieved out of your database or other storage
52+
| system used by the application. Typically, Eloquent is utilized.
53+
|
54+
| If you have multiple user tables or models you may configure multiple
55+
| providers to represent the model / table. These providers may then
56+
| be assigned to any extra authentication guards you have defined.
57+
|
58+
| Supported: "database", "eloquent"
59+
|
60+
*/
61+
62+
'providers' => [
63+
'users' => [
64+
'driver' => 'eloquent',
65+
'model' => env('AUTH_MODEL', App\Models\User::class),
66+
],
67+
68+
// 'users' => [
69+
// 'driver' => 'database',
70+
// 'table' => 'users',
71+
// ],
72+
],
73+
74+
/*
75+
|--------------------------------------------------------------------------
76+
| Resetting Passwords
77+
|--------------------------------------------------------------------------
78+
|
79+
| These configuration options specify the behavior of Laravel's password
80+
| reset functionality, including the table utilized for token storage
81+
| and the user provider that is invoked to actually retrieve users.
82+
|
83+
| The expiry time is the number of minutes that each reset token will be
84+
| considered valid. This security feature keeps tokens short-lived so
85+
| they have less time to be guessed. You may change this as needed.
86+
|
87+
| The throttle setting is the number of seconds a user must wait before
88+
| generating more password reset tokens. This prevents the user from
89+
| quickly generating a very large amount of password reset tokens.
90+
|
91+
*/
92+
93+
'passwords' => [
94+
'users' => [
95+
'provider' => 'users',
96+
'table' => env('AUTH_PASSWORD_RESET_TOKEN_TABLE', 'password_reset_tokens'),
97+
'expire' => 60,
98+
'throttle' => 60,
99+
],
100+
],
101+
102+
/*
103+
|--------------------------------------------------------------------------
104+
| Password Confirmation Timeout
105+
|--------------------------------------------------------------------------
106+
|
107+
| Here you may define the amount of seconds before a password confirmation
108+
| window expires and users are asked to re-enter their password via the
109+
| confirmation screen. By default, the timeout lasts for three hours.
110+
|
111+
*/
112+
113+
'password_timeout' => env('AUTH_PASSWORD_TIMEOUT', 10800),
114+
115+
];

config/broadcasting.php

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Default Broadcaster
8+
|--------------------------------------------------------------------------
9+
|
10+
| This option controls the default broadcaster that will be used by the
11+
| framework when an event needs to be broadcast. You may set this to
12+
| any of the connections defined in the "connections" array below.
13+
|
14+
| Supported: "reverb", "pusher", "ably", "redis", "log", "null"
15+
|
16+
*/
17+
18+
'default' => env('BROADCAST_CONNECTION', 'null'),
19+
20+
/*
21+
|--------------------------------------------------------------------------
22+
| Broadcast Connections
23+
|--------------------------------------------------------------------------
24+
|
25+
| Here you may define all of the broadcast connections that will be used
26+
| to broadcast events to other systems or over WebSockets. Samples of
27+
| each available type of connection are provided inside this array.
28+
|
29+
*/
30+
31+
'connections' => [
32+
33+
'reverb' => [
34+
'driver' => 'reverb',
35+
'key' => env('REVERB_APP_KEY'),
36+
'secret' => env('REVERB_APP_SECRET'),
37+
'app_id' => env('REVERB_APP_ID'),
38+
'options' => [
39+
'host' => env('REVERB_HOST'),
40+
'port' => env('REVERB_PORT', 443),
41+
'scheme' => env('REVERB_SCHEME', 'https'),
42+
'useTLS' => env('REVERB_SCHEME', 'https') === 'https',
43+
],
44+
'client_options' => [
45+
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
46+
],
47+
],
48+
49+
'pusher' => [
50+
'driver' => 'pusher',
51+
'key' => env('PUSHER_APP_KEY'),
52+
'secret' => env('PUSHER_APP_SECRET'),
53+
'app_id' => env('PUSHER_APP_ID'),
54+
'options' => [
55+
'cluster' => env('PUSHER_APP_CLUSTER'),
56+
'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com',
57+
'port' => env('PUSHER_PORT', 443),
58+
'scheme' => env('PUSHER_SCHEME', 'https'),
59+
'encrypted' => true,
60+
'useTLS' => env('PUSHER_SCHEME', 'https') === 'https',
61+
],
62+
'client_options' => [
63+
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
64+
],
65+
],
66+
67+
'ably' => [
68+
'driver' => 'ably',
69+
'key' => env('ABLY_KEY'),
70+
],
71+
72+
'log' => [
73+
'driver' => 'log',
74+
],
75+
76+
'null' => [
77+
'driver' => 'null',
78+
],
79+
80+
],
81+
82+
];

0 commit comments

Comments
 (0)