create-v-kit-spa 0.10.1 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -9
- package/dist/messages.d.ts.map +1 -1
- package/dist/messages.js +3 -1
- package/dist/prompts.d.ts.map +1 -1
- package/dist/prompts.js +8 -4
- package/lib/159/.editorconfig +18 -0
- package/lib/159/.env.example +52 -0
- package/lib/159/.gitattributes +10 -0
- package/lib/159/.styleci.yml +14 -0
- package/lib/159/README.md +190 -0
- package/lib/159/RG-README.md +175 -0
- package/lib/159/app/Console/Kernel.php +32 -0
- package/lib/159/app/Exceptions/Handler.php +41 -0
- package/lib/159/app/Http/Controllers/Controller.php +13 -0
- package/lib/159/app/Http/Controllers/MainController.php +12 -0
- package/lib/159/app/Http/Kernel.php +67 -0
- package/lib/159/app/Http/Middleware/Authenticate.php +21 -0
- package/lib/159/app/Http/Middleware/EncryptCookies.php +17 -0
- package/lib/159/app/Http/Middleware/PreventRequestsDuringMaintenance.php +17 -0
- package/lib/159/app/Http/Middleware/RedirectIfAuthenticated.php +32 -0
- package/lib/159/app/Http/Middleware/TrimStrings.php +19 -0
- package/lib/159/app/Http/Middleware/TrustHosts.php +20 -0
- package/lib/159/app/Http/Middleware/TrustProxies.php +28 -0
- package/lib/159/app/Http/Middleware/VerifyCsrfToken.php +17 -0
- package/lib/159/app/Models/User.php +44 -0
- package/lib/159/app/Providers/AppServiceProvider.php +28 -0
- package/lib/159/app/Providers/AuthServiceProvider.php +30 -0
- package/lib/159/app/Providers/BroadcastServiceProvider.php +21 -0
- package/lib/159/app/Providers/EventServiceProvider.php +32 -0
- package/lib/159/app/Providers/RouteServiceProvider.php +63 -0
- package/lib/159/artisan +53 -0
- package/lib/159/bootstrap/app.php +55 -0
- package/lib/159/bootstrap/cache/.gitignore +2 -0
- package/lib/159/composer.json +62 -0
- package/lib/159/config/app.php +235 -0
- package/lib/159/config/auth.php +111 -0
- package/lib/159/config/broadcasting.php +64 -0
- package/lib/159/config/cache.php +110 -0
- package/lib/159/config/cors.php +34 -0
- package/lib/159/config/database.php +147 -0
- package/lib/159/config/filesystems.php +73 -0
- package/lib/159/config/hashing.php +52 -0
- package/lib/159/config/logging.php +118 -0
- package/lib/159/config/mail.php +118 -0
- package/lib/159/config/queue.php +93 -0
- package/lib/159/config/sanctum.php +65 -0
- package/lib/159/config/services.php +33 -0
- package/lib/159/config/session.php +201 -0
- package/lib/159/config/view.php +36 -0
- package/lib/159/database/factories/UserFactory.php +39 -0
- package/lib/159/database/migrations/2014_10_12_000000_create_users_table.php +36 -0
- package/lib/159/database/migrations/2014_10_12_100000_create_password_resets_table.php +32 -0
- package/lib/159/database/migrations/2019_08_19_000000_create_failed_jobs_table.php +36 -0
- package/lib/159/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php +36 -0
- package/lib/159/database/seeders/DatabaseSeeder.php +18 -0
- package/lib/159/package.json +28 -0
- package/lib/159/phpunit.xml +31 -0
- package/lib/159/public/.htaccess +21 -0
- package/lib/159/public/css/app.css +1 -0
- package/lib/159/public/fonts/vendor/@mdi/materialdesignicons-webfont.eot +0 -0
- package/lib/159/public/fonts/vendor/@mdi/materialdesignicons-webfont.ttf +0 -0
- package/lib/159/public/fonts/vendor/@mdi/materialdesignicons-webfont.woff +0 -0
- package/lib/159/public/fonts/vendor/@mdi/materialdesignicons-webfont.woff2 +0 -0
- package/lib/159/public/index.php +55 -0
- package/lib/159/public/js/app.js +81066 -0
- package/lib/159/public/js/resources_js_components_pages_About_vue.js +62 -0
- package/lib/159/public/js/resources_js_components_pages_Error_vue.js +62 -0
- package/lib/159/public/js/resources_js_components_pages_Home_vue.js +143 -0
- package/lib/159/public/mix-manifest.json +4 -0
- package/lib/159/public/robots.txt +2 -0
- package/lib/159/resources/css/app.css +0 -0
- package/lib/159/resources/js/app.js +37 -0
- package/lib/159/resources/js/bootstrap.js +28 -0
- package/lib/159/resources/js/components/pages/About.vue +5 -0
- package/lib/159/resources/js/components/pages/Error.vue +5 -0
- package/lib/159/resources/js/components/pages/Home.vue +21 -0
- package/lib/159/resources/js/components/templates/App.vue +86 -0
- package/lib/159/resources/js/mainStore.js +20 -0
- package/lib/159/resources/js/router.js +41 -0
- package/lib/159/resources/lang/en/auth.php +20 -0
- package/lib/159/resources/lang/en/pagination.php +19 -0
- package/lib/159/resources/lang/en/passwords.php +22 -0
- package/lib/159/resources/lang/en/validation.php +163 -0
- package/lib/159/resources/views/layouts/app.blade.php +14 -0
- package/lib/159/resources/views/welcome.blade.php +132 -0
- package/lib/159/routes/api.php +19 -0
- package/lib/159/routes/channels.php +18 -0
- package/lib/159/routes/console.php +19 -0
- package/lib/159/routes/web.php +20 -0
- package/lib/159/server.php +21 -0
- package/lib/159/storage/app/.gitignore +3 -0
- package/lib/159/storage/app/public/.gitignore +2 -0
- package/lib/159/storage/framework/cache/.gitignore +3 -0
- package/lib/159/storage/framework/cache/data/.gitignore +2 -0
- package/lib/159/storage/framework/sessions/.gitignore +2 -0
- package/lib/159/storage/framework/testing/.gitignore +2 -0
- package/lib/159/storage/framework/views/.gitignore +2 -0
- package/lib/159/storage/logs/.gitignore +2 -0
- package/lib/159/tests/CreatesApplication.php +22 -0
- package/lib/159/tests/Feature/ExampleTest.php +21 -0
- package/lib/159/tests/TestCase.php +10 -0
- package/lib/159/tests/Unit/ExampleTest.php +18 -0
- package/lib/159/webpack.mix.js +18 -0
- package/package.json +1 -1
- /package/lib/159/{Still Under Development Thank you.txt → public/favicon.ico} +0 -0
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
return [
|
|
4
|
+
|
|
5
|
+
/*
|
|
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
|
+
*/
|
|
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
|
+
| your application so that it is used when running Artisan tasks.
|
|
52
|
+
|
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
'url' => env('APP_URL', 'http://localhost'),
|
|
56
|
+
|
|
57
|
+
'asset_url' => env('ASSET_URL', null),
|
|
58
|
+
|
|
59
|
+
/*
|
|
60
|
+
|--------------------------------------------------------------------------
|
|
61
|
+
| Application Timezone
|
|
62
|
+
|--------------------------------------------------------------------------
|
|
63
|
+
|
|
|
64
|
+
| Here you may specify the default timezone for your application, which
|
|
65
|
+
| will be used by the PHP date and date-time functions. We have gone
|
|
66
|
+
| ahead and set this to a sensible default for you out of the box.
|
|
67
|
+
|
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
'timezone' => 'UTC',
|
|
71
|
+
|
|
72
|
+
/*
|
|
73
|
+
|--------------------------------------------------------------------------
|
|
74
|
+
| Application Locale Configuration
|
|
75
|
+
|--------------------------------------------------------------------------
|
|
76
|
+
|
|
|
77
|
+
| The application locale determines the default locale that will be used
|
|
78
|
+
| by the translation service provider. You are free to set this value
|
|
79
|
+
| to any of the locales which will be supported by the application.
|
|
80
|
+
|
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
'locale' => 'en',
|
|
84
|
+
|
|
85
|
+
/*
|
|
86
|
+
|--------------------------------------------------------------------------
|
|
87
|
+
| Application Fallback Locale
|
|
88
|
+
|--------------------------------------------------------------------------
|
|
89
|
+
|
|
|
90
|
+
| The fallback locale determines the locale to use when the current one
|
|
91
|
+
| is not available. You may change the value to correspond to any of
|
|
92
|
+
| the language folders that are provided through your application.
|
|
93
|
+
|
|
|
94
|
+
*/
|
|
95
|
+
|
|
96
|
+
'fallback_locale' => 'en',
|
|
97
|
+
|
|
98
|
+
/*
|
|
99
|
+
|--------------------------------------------------------------------------
|
|
100
|
+
| Faker Locale
|
|
101
|
+
|--------------------------------------------------------------------------
|
|
102
|
+
|
|
|
103
|
+
| This locale will be used by the Faker PHP library when generating fake
|
|
104
|
+
| data for your database seeds. For example, this will be used to get
|
|
105
|
+
| localized telephone numbers, street address information and more.
|
|
106
|
+
|
|
|
107
|
+
*/
|
|
108
|
+
|
|
109
|
+
'faker_locale' => 'en_US',
|
|
110
|
+
|
|
111
|
+
/*
|
|
112
|
+
|--------------------------------------------------------------------------
|
|
113
|
+
| Encryption Key
|
|
114
|
+
|--------------------------------------------------------------------------
|
|
115
|
+
|
|
|
116
|
+
| This key is used by the Illuminate encrypter service and should be set
|
|
117
|
+
| to a random, 32 character string, otherwise these encrypted strings
|
|
118
|
+
| will not be safe. Please do this before deploying an application!
|
|
119
|
+
|
|
|
120
|
+
*/
|
|
121
|
+
|
|
122
|
+
'key' => env('APP_KEY'),
|
|
123
|
+
|
|
124
|
+
'cipher' => 'AES-256-CBC',
|
|
125
|
+
|
|
126
|
+
/*
|
|
127
|
+
|--------------------------------------------------------------------------
|
|
128
|
+
| Autoloaded Service Providers
|
|
129
|
+
|--------------------------------------------------------------------------
|
|
130
|
+
|
|
|
131
|
+
| The service providers listed here will be automatically loaded on the
|
|
132
|
+
| request to your application. Feel free to add your own services to
|
|
133
|
+
| this array to grant expanded functionality to your applications.
|
|
134
|
+
|
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
'providers' => [
|
|
138
|
+
|
|
139
|
+
/*
|
|
140
|
+
* Laravel Framework Service Providers...
|
|
141
|
+
*/
|
|
142
|
+
Illuminate\Auth\AuthServiceProvider::class,
|
|
143
|
+
Illuminate\Broadcasting\BroadcastServiceProvider::class,
|
|
144
|
+
Illuminate\Bus\BusServiceProvider::class,
|
|
145
|
+
Illuminate\Cache\CacheServiceProvider::class,
|
|
146
|
+
Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
|
|
147
|
+
Illuminate\Cookie\CookieServiceProvider::class,
|
|
148
|
+
Illuminate\Database\DatabaseServiceProvider::class,
|
|
149
|
+
Illuminate\Encryption\EncryptionServiceProvider::class,
|
|
150
|
+
Illuminate\Filesystem\FilesystemServiceProvider::class,
|
|
151
|
+
Illuminate\Foundation\Providers\FoundationServiceProvider::class,
|
|
152
|
+
Illuminate\Hashing\HashServiceProvider::class,
|
|
153
|
+
Illuminate\Mail\MailServiceProvider::class,
|
|
154
|
+
Illuminate\Notifications\NotificationServiceProvider::class,
|
|
155
|
+
Illuminate\Pagination\PaginationServiceProvider::class,
|
|
156
|
+
Illuminate\Pipeline\PipelineServiceProvider::class,
|
|
157
|
+
Illuminate\Queue\QueueServiceProvider::class,
|
|
158
|
+
Illuminate\Redis\RedisServiceProvider::class,
|
|
159
|
+
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
|
|
160
|
+
Illuminate\Session\SessionServiceProvider::class,
|
|
161
|
+
Illuminate\Translation\TranslationServiceProvider::class,
|
|
162
|
+
Illuminate\Validation\ValidationServiceProvider::class,
|
|
163
|
+
Illuminate\View\ViewServiceProvider::class,
|
|
164
|
+
|
|
165
|
+
/*
|
|
166
|
+
* Package Service Providers...
|
|
167
|
+
*/
|
|
168
|
+
|
|
169
|
+
/*
|
|
170
|
+
* Application Service Providers...
|
|
171
|
+
*/
|
|
172
|
+
App\Providers\AppServiceProvider::class,
|
|
173
|
+
App\Providers\AuthServiceProvider::class,
|
|
174
|
+
// App\Providers\BroadcastServiceProvider::class,
|
|
175
|
+
App\Providers\EventServiceProvider::class,
|
|
176
|
+
App\Providers\RouteServiceProvider::class,
|
|
177
|
+
|
|
178
|
+
],
|
|
179
|
+
|
|
180
|
+
/*
|
|
181
|
+
|--------------------------------------------------------------------------
|
|
182
|
+
| Class Aliases
|
|
183
|
+
|--------------------------------------------------------------------------
|
|
184
|
+
|
|
|
185
|
+
| This array of class aliases will be registered when this application
|
|
186
|
+
| is started. However, feel free to register as many as you wish as
|
|
187
|
+
| the aliases are "lazy" loaded so they don't hinder performance.
|
|
188
|
+
|
|
|
189
|
+
*/
|
|
190
|
+
|
|
191
|
+
'aliases' => [
|
|
192
|
+
|
|
193
|
+
'App' => Illuminate\Support\Facades\App::class,
|
|
194
|
+
'Arr' => Illuminate\Support\Arr::class,
|
|
195
|
+
'Artisan' => Illuminate\Support\Facades\Artisan::class,
|
|
196
|
+
'Auth' => Illuminate\Support\Facades\Auth::class,
|
|
197
|
+
'Blade' => Illuminate\Support\Facades\Blade::class,
|
|
198
|
+
'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
|
|
199
|
+
'Bus' => Illuminate\Support\Facades\Bus::class,
|
|
200
|
+
'Cache' => Illuminate\Support\Facades\Cache::class,
|
|
201
|
+
'Config' => Illuminate\Support\Facades\Config::class,
|
|
202
|
+
'Cookie' => Illuminate\Support\Facades\Cookie::class,
|
|
203
|
+
'Crypt' => Illuminate\Support\Facades\Crypt::class,
|
|
204
|
+
'Date' => Illuminate\Support\Facades\Date::class,
|
|
205
|
+
'DB' => Illuminate\Support\Facades\DB::class,
|
|
206
|
+
'Eloquent' => Illuminate\Database\Eloquent\Model::class,
|
|
207
|
+
'Event' => Illuminate\Support\Facades\Event::class,
|
|
208
|
+
'File' => Illuminate\Support\Facades\File::class,
|
|
209
|
+
'Gate' => Illuminate\Support\Facades\Gate::class,
|
|
210
|
+
'Hash' => Illuminate\Support\Facades\Hash::class,
|
|
211
|
+
'Http' => Illuminate\Support\Facades\Http::class,
|
|
212
|
+
'Js' => Illuminate\Support\Js::class,
|
|
213
|
+
'Lang' => Illuminate\Support\Facades\Lang::class,
|
|
214
|
+
'Log' => Illuminate\Support\Facades\Log::class,
|
|
215
|
+
'Mail' => Illuminate\Support\Facades\Mail::class,
|
|
216
|
+
'Notification' => Illuminate\Support\Facades\Notification::class,
|
|
217
|
+
'Password' => Illuminate\Support\Facades\Password::class,
|
|
218
|
+
'Queue' => Illuminate\Support\Facades\Queue::class,
|
|
219
|
+
'RateLimiter' => Illuminate\Support\Facades\RateLimiter::class,
|
|
220
|
+
'Redirect' => Illuminate\Support\Facades\Redirect::class,
|
|
221
|
+
// 'Redis' => Illuminate\Support\Facades\Redis::class,
|
|
222
|
+
'Request' => Illuminate\Support\Facades\Request::class,
|
|
223
|
+
'Response' => Illuminate\Support\Facades\Response::class,
|
|
224
|
+
'Route' => Illuminate\Support\Facades\Route::class,
|
|
225
|
+
'Schema' => Illuminate\Support\Facades\Schema::class,
|
|
226
|
+
'Session' => Illuminate\Support\Facades\Session::class,
|
|
227
|
+
'Storage' => Illuminate\Support\Facades\Storage::class,
|
|
228
|
+
'Str' => Illuminate\Support\Str::class,
|
|
229
|
+
'URL' => Illuminate\Support\Facades\URL::class,
|
|
230
|
+
'Validator' => Illuminate\Support\Facades\Validator::class,
|
|
231
|
+
'View' => Illuminate\Support\Facades\View::class,
|
|
232
|
+
|
|
233
|
+
],
|
|
234
|
+
|
|
235
|
+
];
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
return [
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
|--------------------------------------------------------------------------
|
|
7
|
+
| Authentication Defaults
|
|
8
|
+
|--------------------------------------------------------------------------
|
|
9
|
+
|
|
|
10
|
+
| This option controls the default authentication "guard" and password
|
|
11
|
+
| reset options for your application. You may change these defaults
|
|
12
|
+
| as required, but they're a perfect start for most applications.
|
|
13
|
+
|
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
'defaults' => [
|
|
17
|
+
'guard' => 'web',
|
|
18
|
+
'passwords' => '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
|
+
| here which uses session storage and the Eloquent user provider.
|
|
29
|
+
|
|
|
30
|
+
| All authentication drivers have a user provider. This defines how the
|
|
31
|
+
| users are actually retrieved out of your database or other storage
|
|
32
|
+
| mechanisms used by this application to persist your user's data.
|
|
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 drivers have a user provider. This defines how the
|
|
51
|
+
| users are actually retrieved out of your database or other storage
|
|
52
|
+
| mechanisms used by this application to persist your user's data.
|
|
53
|
+
|
|
|
54
|
+
| If you have multiple user tables or models you may configure multiple
|
|
55
|
+
| sources which represent each model / table. These sources 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' => 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
|
+
| You may specify multiple password reset configurations if you have more
|
|
80
|
+
| than one user table or model in the application and you want to have
|
|
81
|
+
| separate password reset settings based on the specific user types.
|
|
82
|
+
|
|
|
83
|
+
| The expire 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
|
+
*/
|
|
88
|
+
|
|
89
|
+
'passwords' => [
|
|
90
|
+
'users' => [
|
|
91
|
+
'provider' => 'users',
|
|
92
|
+
'table' => 'password_resets',
|
|
93
|
+
'expire' => 60,
|
|
94
|
+
'throttle' => 60,
|
|
95
|
+
],
|
|
96
|
+
],
|
|
97
|
+
|
|
98
|
+
/*
|
|
99
|
+
|--------------------------------------------------------------------------
|
|
100
|
+
| Password Confirmation Timeout
|
|
101
|
+
|--------------------------------------------------------------------------
|
|
102
|
+
|
|
|
103
|
+
| Here you may define the amount of seconds before a password confirmation
|
|
104
|
+
| times out and the user is prompted to re-enter their password via the
|
|
105
|
+
| confirmation screen. By default, the timeout lasts for three hours.
|
|
106
|
+
|
|
|
107
|
+
*/
|
|
108
|
+
|
|
109
|
+
'password_timeout' => 10800,
|
|
110
|
+
|
|
111
|
+
];
|
|
@@ -0,0 +1,64 @@
|
|
|
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: "pusher", "ably", "redis", "log", "null"
|
|
15
|
+
|
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
'default' => env('BROADCAST_DRIVER', '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
|
+
'pusher' => [
|
|
34
|
+
'driver' => 'pusher',
|
|
35
|
+
'key' => env('PUSHER_APP_KEY'),
|
|
36
|
+
'secret' => env('PUSHER_APP_SECRET'),
|
|
37
|
+
'app_id' => env('PUSHER_APP_ID'),
|
|
38
|
+
'options' => [
|
|
39
|
+
'cluster' => env('PUSHER_APP_CLUSTER'),
|
|
40
|
+
'useTLS' => true,
|
|
41
|
+
],
|
|
42
|
+
],
|
|
43
|
+
|
|
44
|
+
'ably' => [
|
|
45
|
+
'driver' => 'ably',
|
|
46
|
+
'key' => env('ABLY_KEY'),
|
|
47
|
+
],
|
|
48
|
+
|
|
49
|
+
'redis' => [
|
|
50
|
+
'driver' => 'redis',
|
|
51
|
+
'connection' => 'default',
|
|
52
|
+
],
|
|
53
|
+
|
|
54
|
+
'log' => [
|
|
55
|
+
'driver' => 'log',
|
|
56
|
+
],
|
|
57
|
+
|
|
58
|
+
'null' => [
|
|
59
|
+
'driver' => 'null',
|
|
60
|
+
],
|
|
61
|
+
|
|
62
|
+
],
|
|
63
|
+
|
|
64
|
+
];
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
use Illuminate\Support\Str;
|
|
4
|
+
|
|
5
|
+
return [
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
|--------------------------------------------------------------------------
|
|
9
|
+
| Default Cache Store
|
|
10
|
+
|--------------------------------------------------------------------------
|
|
11
|
+
|
|
|
12
|
+
| This option controls the default cache connection that gets used while
|
|
13
|
+
| using this caching library. This connection is used when another is
|
|
14
|
+
| not explicitly specified when executing a given caching function.
|
|
15
|
+
|
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
'default' => env('CACHE_DRIVER', 'file'),
|
|
19
|
+
|
|
20
|
+
/*
|
|
21
|
+
|--------------------------------------------------------------------------
|
|
22
|
+
| Cache Stores
|
|
23
|
+
|--------------------------------------------------------------------------
|
|
24
|
+
|
|
|
25
|
+
| Here you may define all of the cache "stores" for your application as
|
|
26
|
+
| well as their drivers. You may even define multiple stores for the
|
|
27
|
+
| same cache driver to group types of items stored in your caches.
|
|
28
|
+
|
|
|
29
|
+
| Supported drivers: "apc", "array", "database", "file",
|
|
30
|
+
| "memcached", "redis", "dynamodb", "octane", "null"
|
|
31
|
+
|
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
'stores' => [
|
|
35
|
+
|
|
36
|
+
'apc' => [
|
|
37
|
+
'driver' => 'apc',
|
|
38
|
+
],
|
|
39
|
+
|
|
40
|
+
'array' => [
|
|
41
|
+
'driver' => 'array',
|
|
42
|
+
'serialize' => false,
|
|
43
|
+
],
|
|
44
|
+
|
|
45
|
+
'database' => [
|
|
46
|
+
'driver' => 'database',
|
|
47
|
+
'table' => 'cache',
|
|
48
|
+
'connection' => null,
|
|
49
|
+
'lock_connection' => null,
|
|
50
|
+
],
|
|
51
|
+
|
|
52
|
+
'file' => [
|
|
53
|
+
'driver' => 'file',
|
|
54
|
+
'path' => storage_path('framework/cache/data'),
|
|
55
|
+
],
|
|
56
|
+
|
|
57
|
+
'memcached' => [
|
|
58
|
+
'driver' => 'memcached',
|
|
59
|
+
'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
|
|
60
|
+
'sasl' => [
|
|
61
|
+
env('MEMCACHED_USERNAME'),
|
|
62
|
+
env('MEMCACHED_PASSWORD'),
|
|
63
|
+
],
|
|
64
|
+
'options' => [
|
|
65
|
+
// Memcached::OPT_CONNECT_TIMEOUT => 2000,
|
|
66
|
+
],
|
|
67
|
+
'servers' => [
|
|
68
|
+
[
|
|
69
|
+
'host' => env('MEMCACHED_HOST', '127.0.0.1'),
|
|
70
|
+
'port' => env('MEMCACHED_PORT', 11211),
|
|
71
|
+
'weight' => 100,
|
|
72
|
+
],
|
|
73
|
+
],
|
|
74
|
+
],
|
|
75
|
+
|
|
76
|
+
'redis' => [
|
|
77
|
+
'driver' => 'redis',
|
|
78
|
+
'connection' => 'cache',
|
|
79
|
+
'lock_connection' => 'default',
|
|
80
|
+
],
|
|
81
|
+
|
|
82
|
+
'dynamodb' => [
|
|
83
|
+
'driver' => 'dynamodb',
|
|
84
|
+
'key' => env('AWS_ACCESS_KEY_ID'),
|
|
85
|
+
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
|
86
|
+
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
|
|
87
|
+
'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
|
|
88
|
+
'endpoint' => env('DYNAMODB_ENDPOINT'),
|
|
89
|
+
],
|
|
90
|
+
|
|
91
|
+
'octane' => [
|
|
92
|
+
'driver' => 'octane',
|
|
93
|
+
],
|
|
94
|
+
|
|
95
|
+
],
|
|
96
|
+
|
|
97
|
+
/*
|
|
98
|
+
|--------------------------------------------------------------------------
|
|
99
|
+
| Cache Key Prefix
|
|
100
|
+
|--------------------------------------------------------------------------
|
|
101
|
+
|
|
|
102
|
+
| When utilizing a RAM based store such as APC or Memcached, there might
|
|
103
|
+
| be other applications utilizing the same cache. So, we'll specify a
|
|
104
|
+
| value to get prefixed to all our keys so we can avoid collisions.
|
|
105
|
+
|
|
|
106
|
+
*/
|
|
107
|
+
|
|
108
|
+
'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'),
|
|
109
|
+
|
|
110
|
+
];
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
return [
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
|--------------------------------------------------------------------------
|
|
7
|
+
| Cross-Origin Resource Sharing (CORS) Configuration
|
|
8
|
+
|--------------------------------------------------------------------------
|
|
9
|
+
|
|
|
10
|
+
| Here you may configure your settings for cross-origin resource sharing
|
|
11
|
+
| or "CORS". This determines what cross-origin operations may execute
|
|
12
|
+
| in web browsers. You are free to adjust these settings as needed.
|
|
13
|
+
|
|
|
14
|
+
| To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
|
15
|
+
|
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
'paths' => ['api/*', 'sanctum/csrf-cookie'],
|
|
19
|
+
|
|
20
|
+
'allowed_methods' => ['*'],
|
|
21
|
+
|
|
22
|
+
'allowed_origins' => ['*'],
|
|
23
|
+
|
|
24
|
+
'allowed_origins_patterns' => [],
|
|
25
|
+
|
|
26
|
+
'allowed_headers' => ['*'],
|
|
27
|
+
|
|
28
|
+
'exposed_headers' => [],
|
|
29
|
+
|
|
30
|
+
'max_age' => 0,
|
|
31
|
+
|
|
32
|
+
'supports_credentials' => false,
|
|
33
|
+
|
|
34
|
+
];
|