1 |
5d28dbf4
|
Marek Lovčí
|
<?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' => 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 |
|
|
'DB' => Illuminate\Support\Facades\DB::class,
|
205 |
|
|
'Eloquent' => Illuminate\Database\Eloquent\Model::class,
|
206 |
|
|
'Event' => Illuminate\Support\Facades\Event::class,
|
207 |
|
|
'File' => Illuminate\Support\Facades\File::class,
|
208 |
|
|
'Gate' => Illuminate\Support\Facades\Gate::class,
|
209 |
|
|
'Hash' => Illuminate\Support\Facades\Hash::class,
|
210 |
|
|
'Http' => Illuminate\Support\Facades\Http::class,
|
211 |
|
|
'Lang' => Illuminate\Support\Facades\Lang::class,
|
212 |
|
|
'Log' => Illuminate\Support\Facades\Log::class,
|
213 |
|
|
'Mail' => Illuminate\Support\Facades\Mail::class,
|
214 |
|
|
'Notification' => Illuminate\Support\Facades\Notification::class,
|
215 |
|
|
'Password' => Illuminate\Support\Facades\Password::class,
|
216 |
|
|
'Queue' => Illuminate\Support\Facades\Queue::class,
|
217 |
|
|
'Redirect' => Illuminate\Support\Facades\Redirect::class,
|
218 |
|
|
'Redis' => Illuminate\Support\Facades\Redis::class,
|
219 |
|
|
'Request' => Illuminate\Support\Facades\Request::class,
|
220 |
|
|
'Response' => Illuminate\Support\Facades\Response::class,
|
221 |
|
|
'Route' => Illuminate\Support\Facades\Route::class,
|
222 |
|
|
'Schema' => Illuminate\Support\Facades\Schema::class,
|
223 |
|
|
'Session' => Illuminate\Support\Facades\Session::class,
|
224 |
|
|
'Storage' => Illuminate\Support\Facades\Storage::class,
|
225 |
|
|
'Str' => Illuminate\Support\Str::class,
|
226 |
|
|
'URL' => Illuminate\Support\Facades\URL::class,
|
227 |
|
|
'Validator' => Illuminate\Support\Facades\Validator::class,
|
228 |
|
|
'View' => Illuminate\Support\Facades\View::class,
|
229 |
|
|
|
230 |
|
|
],
|
231 |
|
|
|
232 |
|
|
];
|