| 1 | <?php | = | 1 | <?php |
| 2 | 2 | |||
| 3 | return [ | 3 | return [ | |
| 4 | 4 | |||
| 5 | /* | 5 | /* | |
| 6 | |-------------------------------------------------------------------------- | 6 | |-------------------------------------------------------------------------- | |
| 7 | | Application Name | 7 | | Application Name | |
| 8 | |-------------------------------------------------------------------------- | 8 | |-------------------------------------------------------------------------- | |
| 9 | | | 9 | | | |
| 10 | | This value is the name of your application. This value is used when the | 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 | 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. | 12 | | any other location as required by the application or its packages. | |
| 13 | | | 13 | | | |
| 14 | */ | 14 | */ | |
| 15 | 15 | |||
| 16 | 'name' => env('APP_NAME', 'Laravel'), | 16 | 'name' => env('APP_NAME', 'Laravel'), | |
| 17 | 17 | |||
| 18 | /* | 18 | /* | |
| 19 | |-------------------------------------------------------------------------- | 19 | |-------------------------------------------------------------------------- | |
| 20 | | Application Environment | 20 | | Application Environment | |
| 21 | |-------------------------------------------------------------------------- | 21 | |-------------------------------------------------------------------------- | |
| 22 | | | 22 | | | |
| 23 | | This value determines the "environment" your application is currently | 23 | | This value determines the "environment" your application is currently | |
| 24 | | running in. This may determine how you prefer to configure various | 24 | | running in. This may determine how you prefer to configure various | |
| 25 | | services the application utilizes. Set this in your ".env" file. | 25 | | services the application utilizes. Set this in your ".env" file. | |
| 26 | | | 26 | | | |
| 27 | */ | 27 | */ | |
| 28 | 28 | |||
| 29 | 'env' => env('APP_ENV', 'production'), | 29 | 'env' => env('APP_ENV', 'production'), | |
| 30 | 30 | |||
| 31 | /* | 31 | /* | |
| 32 | |-------------------------------------------------------------------------- | 32 | |-------------------------------------------------------------------------- | |
| 33 | | Application Debug Mode | 33 | | Application Debug Mode | |
| 34 | |-------------------------------------------------------------------------- | 34 | |-------------------------------------------------------------------------- | |
| 35 | | | 35 | | | |
| 36 | | When your application is in debug mode, detailed error messages with | 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 | 37 | | stack traces will be shown on every error that occurs within your | |
| 38 | | application. If disabled, a simple generic error page is shown. | 38 | | application. If disabled, a simple generic error page is shown. | |
| 39 | | | 39 | | | |
| 40 | */ | 40 | */ | |
| 41 | 41 | |||
| 42 | 'debug' => env('APP_DEBUG', false), | <> | 42 | 'debug' => (bool) env('APP_DEBUG', false), |
| 43 | = | 43 | ||
| 44 | /* | 44 | /* | |
| 45 | |-------------------------------------------------------------------------- | 45 | |-------------------------------------------------------------------------- | |
| 46 | | Application URL | 46 | | Application URL | |
| 47 | |-------------------------------------------------------------------------- | 47 | |-------------------------------------------------------------------------- | |
| 48 | | | 48 | | | |
| 49 | | This URL is used by the console to properly generate URLs when using | 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 | 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. | 51 | | your application so that it is used when running Artisan tasks. | |
| 52 | | | 52 | | | |
| 53 | */ | 53 | */ | |
| 54 | 54 | |||
| 55 | 'url' => env('APP_URL', 'http://localhost'), | 55 | 'url' => env('APP_URL', 'http://localhost'), | |
| 56 | 56 | |||
| 57 | 'asset_url' => env('ASSET_URL', null), | 57 | 'asset_url' => env('ASSET_URL', null), | |
| -+ | 58 | |||
| 59 | 'mix_url' => env('ASSET_URL', null), | |||
| 58 | = | 60 | ||
| 59 | /* | 61 | /* | |
| 60 | |-------------------------------------------------------------------------- | 62 | |-------------------------------------------------------------------------- | |
| 61 | | Application Timezone | 63 | | Application Timezone | |
| 62 | |-------------------------------------------------------------------------- | 64 | |-------------------------------------------------------------------------- | |
| 63 | | | 65 | | | |
| 64 | | Here you may specify the default timezone for your application, which | 66 | | 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 | 67 | | 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. | 68 | | ahead and set this to a sensible default for you out of the box. | |
| 67 | | | 69 | | | |
| 68 | */ | 70 | */ | |
| 69 | 71 | |||
| 70 | 'timezone' => 'UTC', | 72 | 'timezone' => 'UTC', | |
| 71 | 73 | |||
| 72 | /* | 74 | /* | |
| 73 | |-------------------------------------------------------------------------- | 75 | |-------------------------------------------------------------------------- | |
| 74 | | Application Locale Configuration | 76 | | Application Locale Configuration | |
| 75 | |-------------------------------------------------------------------------- | 77 | |-------------------------------------------------------------------------- | |
| 76 | | | 78 | | | |
| 77 | | The application locale determines the default locale that will be used | 79 | | The application locale determines the default locale that will be used | |
| 78 | | by the translation service provider. You are free to set this value | 80 | | 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. | 81 | | to any of the locales which will be supported by the application. | |
| 80 | | | 82 | | | |
| 81 | */ | 83 | */ | |
| 82 | 84 | |||
| 83 | 'locale' => 'en', | 85 | 'locale' => 'en', | |
| 84 | 86 | |||
| 85 | /* | 87 | /* | |
| 86 | |-------------------------------------------------------------------------- | 88 | |-------------------------------------------------------------------------- | |
| 87 | | Application Fallback Locale | 89 | | Application Fallback Locale | |
| 88 | |-------------------------------------------------------------------------- | 90 | |-------------------------------------------------------------------------- | |
| 89 | | | 91 | | | |
| 90 | | The fallback locale determines the locale to use when the current one | 92 | | 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 | 93 | | is not available. You may change the value to correspond to any of | |
| 92 | | the language folders that are provided through your application. | 94 | | the language folders that are provided through your application. | |
| 93 | | | 95 | | | |
| 94 | */ | 96 | */ | |
| 95 | 97 | |||
| 96 | 'fallback_locale' => 'en', | 98 | 'fallback_locale' => 'en', | |
| 97 | 99 | |||
| 98 | /* | 100 | /* | |
| 99 | |-------------------------------------------------------------------------- | 101 | |-------------------------------------------------------------------------- | |
| 100 | | Faker Locale | 102 | | Faker Locale | |
| 101 | |-------------------------------------------------------------------------- | 103 | |-------------------------------------------------------------------------- | |
| 102 | | | 104 | | | |
| 103 | | This locale will be used by the Faker PHP library when generating fake | 105 | | 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 | 106 | | data for your database seeds. For example, this will be used to get | |
| 105 | | localized telephone numbers, street address information and more. | 107 | | localized telephone numbers, street address information and more. | |
| 106 | | | 108 | | | |
| 107 | */ | 109 | */ | |
| 108 | 110 | |||
| 109 | 'faker_locale' => 'en_US', | 111 | 'faker_locale' => 'en_US', | |
| 110 | 112 | |||
| 111 | /* | 113 | /* | |
| 112 | |-------------------------------------------------------------------------- | 114 | |-------------------------------------------------------------------------- | |
| 113 | | Encryption Key | 115 | | Encryption Key | |
| 114 | |-------------------------------------------------------------------------- | 116 | |-------------------------------------------------------------------------- | |
| 115 | | | 117 | | | |
| 116 | | This key is used by the Illuminate encrypter service and should be set | 118 | | This key is used by the Illuminate encrypter service and should be set | |
| 117 | | to a random, 32 character string, otherwise these encrypted strings | 119 | | to a random, 32 character string, otherwise these encrypted strings | |
| 118 | | will not be safe. Please do this before deploying an application! | 120 | | will not be safe. Please do this before deploying an application! | |
| 119 | | | 121 | | | |
| 120 | */ | 122 | */ | |
| 121 | 123 | |||
| 122 | 'key' => env('APP_KEY'), | 124 | 'key' => env('APP_KEY'), | |
| 123 | 125 | |||
| 124 | 'cipher' => 'AES-256-CBC', | 126 | 'cipher' => 'AES-256-CBC', | |
| 125 | 127 | |||
| 126 | /* | 128 | /* | |
| 127 | |-------------------------------------------------------------------------- | 129 | |-------------------------------------------------------------------------- | |
| 128 | | Autoloaded Service Providers | 130 | | Autoloaded Service Providers | |
| 129 | |-------------------------------------------------------------------------- | 131 | |-------------------------------------------------------------------------- | |
| 130 | | | 132 | | | |
| 131 | | The service providers listed here will be automatically loaded on the | 133 | | The service providers listed here will be automatically loaded on the | |
| 132 | | request to your application. Feel free to add your own services to | 134 | | request to your application. Feel free to add your own services to | |
| 133 | | this array to grant expanded functionality to your applications. | 135 | | this array to grant expanded functionality to your applications. | |
| 134 | | | 136 | | | |
| 135 | */ | 137 | */ | |
| 136 | 138 | |||
| 137 | 'providers' => [ | 139 | 'providers' => [ | |
| 138 | 140 | |||
| 139 | /* | 141 | /* | |
| 140 | * Laravel Framework Service Providers... | 142 | * Laravel Framework Service Providers... | |
| 141 | */ | 143 | */ | |
| 142 | Illuminate\Auth\AuthServiceProvider::class, | 144 | Illuminate\Auth\AuthServiceProvider::class, | |
| 143 | Illuminate\Broadcasting\BroadcastServiceProvider::class, | 145 | Illuminate\Broadcasting\BroadcastServiceProvider::class, | |
| 144 | Illuminate\Bus\BusServiceProvider::class, | 146 | Illuminate\Bus\BusServiceProvider::class, | |
| 145 | Illuminate\Cache\CacheServiceProvider::class, | 147 | Illuminate\Cache\CacheServiceProvider::class, | |
| 146 | Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, | 148 | Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, | |
| 147 | Illuminate\Cookie\CookieServiceProvider::class, | 149 | Illuminate\Cookie\CookieServiceProvider::class, | |
| 148 | Illuminate\Database\DatabaseServiceProvider::class, | 150 | Illuminate\Database\DatabaseServiceProvider::class, | |
| 149 | Illuminate\Encryption\EncryptionServiceProvider::class, | 151 | Illuminate\Encryption\EncryptionServiceProvider::class, | |
| 150 | Illuminate\Filesystem\FilesystemServiceProvider::class, | 152 | Illuminate\Filesystem\FilesystemServiceProvider::class, | |
| 151 | Illuminate\Foundation\Providers\FoundationServiceProvider::class, | 153 | Illuminate\Foundation\Providers\FoundationServiceProvider::class, | |
| 152 | Illuminate\Hashing\HashServiceProvider::class, | 154 | Illuminate\Hashing\HashServiceProvider::class, | |
| 153 | Illuminate\Mail\MailServiceProvider::class, | 155 | Illuminate\Mail\MailServiceProvider::class, | |
| 154 | Illuminate\Notifications\NotificationServiceProvider::class, | 156 | Illuminate\Notifications\NotificationServiceProvider::class, | |
| 155 | Illuminate\Pagination\PaginationServiceProvider::class, | 157 | Illuminate\Pagination\PaginationServiceProvider::class, | |
| 156 | Illuminate\Pipeline\PipelineServiceProvider::class, | 158 | Illuminate\Pipeline\PipelineServiceProvider::class, | |
| 157 | Illuminate\Queue\QueueServiceProvider::class, | 159 | Illuminate\Queue\QueueServiceProvider::class, | |
| 158 | Illuminate\Redis\RedisServiceProvider::class, | 160 | Illuminate\Redis\RedisServiceProvider::class, | |
| 159 | Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, | 161 | Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, | |
| 160 | Illuminate\Session\SessionServiceProvider::class, | 162 | Illuminate\Session\SessionServiceProvider::class, | |
| 161 | Illuminate\Translation\TranslationServiceProvider::class, | 163 | Illuminate\Translation\TranslationServiceProvider::class, | |
| 162 | Illuminate\Validation\ValidationServiceProvider::class, | 164 | Illuminate\Validation\ValidationServiceProvider::class, | |
| 163 | Illuminate\View\ViewServiceProvider::class, | 165 | Illuminate\View\ViewServiceProvider::class, | |
| 164 | 166 | |||
| 165 | /* | 167 | /* | |
| 166 | * Package Service Providers... | 168 | * Package Service Providers... | |
| 167 | */ | 169 | */ | |
| 168 | 170 | |||
| 169 | /* | 171 | /* | |
| 170 | * Application Service Providers... | 172 | * Application Service Providers... | |
| 171 | */ | 173 | */ | |
| 172 | App\Providers\AppServiceProvider::class, | 174 | App\Providers\AppServiceProvider::class, | |
| 173 | App\Providers\AuthServiceProvider::class, | 175 | App\Providers\AuthServiceProvider::class, | |
| 174 | // App\Providers\BroadcastServiceProvider::class, | 176 | // App\Providers\BroadcastServiceProvider::class, | |
| 175 | App\Providers\EventServiceProvider::class, | 177 | App\Providers\EventServiceProvider::class, | |
| 176 | App\Providers\RouteServiceProvider::class, | 178 | App\Providers\RouteServiceProvider::class, | |
| 177 | 179 | |||
| 178 | ], | 180 | ], | |
| 179 | 181 | |||
| 180 | /* | 182 | /* | |
| 181 | |-------------------------------------------------------------------------- | 183 | |-------------------------------------------------------------------------- | |
| 182 | | Class Aliases | 184 | | Class Aliases | |
| 183 | |-------------------------------------------------------------------------- | 185 | |-------------------------------------------------------------------------- | |
| 184 | | | 186 | | | |
| 185 | | This array of class aliases will be registered when this application | 187 | | 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 | 188 | | 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. | 189 | | the aliases are "lazy" loaded so they don't hinder performance. | |
| 188 | | | 190 | | | |
| 189 | */ | 191 | */ | |
| 190 | 192 | |||
| 191 | 'aliases' => [ | 193 | 'aliases' => [ | |
| 192 | 194 | |||
| 193 | 'App' => Illuminate\Support\Facades\App::class, | 195 | 'App' => Illuminate\Support\Facades\App::class, | |
| 194 | 'Arr' => Illuminate\Support\Arr::class, | 196 | 'Arr' => Illuminate\Support\Arr::class, | |
| 195 | 'Artisan' => Illuminate\Support\Facades\Artisan::class, | 197 | 'Artisan' => Illuminate\Support\Facades\Artisan::class, | |
| 196 | 'Auth' => Illuminate\Support\Facades\Auth::class, | 198 | 'Auth' => Illuminate\Support\Facades\Auth::class, | |
| 197 | 'Blade' => Illuminate\Support\Facades\Blade::class, | 199 | 'Blade' => Illuminate\Support\Facades\Blade::class, | |
| 198 | 'Broadcast' => Illuminate\Support\Facades\Broadcast::class, | 200 | 'Broadcast' => Illuminate\Support\Facades\Broadcast::class, | |
| 199 | 'Bus' => Illuminate\Support\Facades\Bus::class, | 201 | 'Bus' => Illuminate\Support\Facades\Bus::class, | |
| 200 | 'Cache' => Illuminate\Support\Facades\Cache::class, | 202 | 'Cache' => Illuminate\Support\Facades\Cache::class, | |
| 201 | 'Config' => Illuminate\Support\Facades\Config::class, | 203 | 'Config' => Illuminate\Support\Facades\Config::class, | |
| 202 | 'Cookie' => Illuminate\Support\Facades\Cookie::class, | 204 | 'Cookie' => Illuminate\Support\Facades\Cookie::class, | |
| 203 | 'Crypt' => Illuminate\Support\Facades\Crypt::class, | 205 | 'Crypt' => Illuminate\Support\Facades\Crypt::class, | |
| 204 | 'DB' => Illuminate\Support\Facades\DB::class, | 206 | 'DB' => Illuminate\Support\Facades\DB::class, | |
| 205 | 'Eloquent' => Illuminate\Database\Eloquent\Model::class, | 207 | 'Eloquent' => Illuminate\Database\Eloquent\Model::class, | |
| 206 | 'Event' => Illuminate\Support\Facades\Event::class, | 208 | 'Event' => Illuminate\Support\Facades\Event::class, | |
| 207 | 'File' => Illuminate\Support\Facades\File::class, | 209 | 'File' => Illuminate\Support\Facades\File::class, | |
| 208 | 'Gate' => Illuminate\Support\Facades\Gate::class, | 210 | 'Gate' => Illuminate\Support\Facades\Gate::class, | |
| 209 | 'Hash' => Illuminate\Support\Facades\Hash::class, | 211 | 'Hash' => Illuminate\Support\Facades\Hash::class, | |
| 210 | 'Http' => Illuminate\Support\Facades\Http::class, | 212 | 'Http' => Illuminate\Support\Facades\Http::class, | |
| 211 | 'Lang' => Illuminate\Support\Facades\Lang::class, | 213 | 'Lang' => Illuminate\Support\Facades\Lang::class, | |
| 212 | 'Log' => Illuminate\Support\Facades\Log::class, | 214 | 'Log' => Illuminate\Support\Facades\Log::class, | |
| 213 | 'Mail' => Illuminate\Support\Facades\Mail::class, | 215 | 'Mail' => Illuminate\Support\Facades\Mail::class, | |
| 214 | 'Notification' => Illuminate\Support\Facades\Notification::class, | 216 | 'Notification' => Illuminate\Support\Facades\Notification::class, | |
| 215 | 'Password' => Illuminate\Support\Facades\Password::class, | 217 | 'Password' => Illuminate\Support\Facades\Password::class, | |
| 216 | 'Queue' => Illuminate\Support\Facades\Queue::class, | 218 | 'Queue' => Illuminate\Support\Facades\Queue::class, | |
| 217 | 'Redirect' => Illuminate\Support\Facades\Redirect::class, | 219 | 'Redirect' => Illuminate\Support\Facades\Redirect::class, | |
| 218 | 'Redis' => Illuminate\Support\Facades\Redis::class, | <> | 220 | // 'Redis' => Illuminate\Support\Facades\Redis::class, |
| 219 | 'Request' => Illuminate\Support\Facades\Request::class, | = | 221 | 'Request' => Illuminate\Support\Facades\Request::class, |
| 220 | 'Response' => Illuminate\Support\Facades\Response::class, | 222 | 'Response' => Illuminate\Support\Facades\Response::class, | |
| 221 | 'Route' => Illuminate\Support\Facades\Route::class, | 223 | 'Route' => Illuminate\Support\Facades\Route::class, | |
| 222 | 'Schema' => Illuminate\Support\Facades\Schema::class, | 224 | 'Schema' => Illuminate\Support\Facades\Schema::class, | |
| 223 | 'Session' => Illuminate\Support\Facades\Session::class, | 225 | 'Session' => Illuminate\Support\Facades\Session::class, | |
| 224 | 'Storage' => Illuminate\Support\Facades\Storage::class, | 226 | 'Storage' => Illuminate\Support\Facades\Storage::class, | |
| 225 | 'Str' => Illuminate\Support\Str::class, | 227 | 'Str' => Illuminate\Support\Str::class, | |
| 226 | 'URL' => Illuminate\Support\Facades\URL::class, | 228 | 'URL' => Illuminate\Support\Facades\URL::class, | |
| 227 | 'Validator' => Illuminate\Support\Facades\Validator::class, | 229 | 'Validator' => Illuminate\Support\Facades\Validator::class, | |
| 228 | 'View' => Illuminate\Support\Facades\View::class, | 230 | 'View' => Illuminate\Support\Facades\View::class, | |
| 229 | 231 | |||
| 230 | ], | 232 | ], | |
| 231 | 233 | |||
| 232 | ]; | 234 | ]; |