[c454c0f] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | use Illuminate\Support\Facades\Facade;
|
---|
| 4 | use Illuminate\Support\ServiceProvider;
|
---|
| 5 |
|
---|
| 6 | return [
|
---|
| 7 |
|
---|
| 8 | /*
|
---|
| 9 | |--------------------------------------------------------------------------
|
---|
| 10 | | Application Name
|
---|
| 11 | |--------------------------------------------------------------------------
|
---|
| 12 | |
|
---|
| 13 | | This value is the name of your application. This value is used when the
|
---|
| 14 | | framework needs to place the application's name in a notification or
|
---|
| 15 | | any other location as required by the application or its packages.
|
---|
| 16 | |
|
---|
| 17 | */
|
---|
| 18 |
|
---|
| 19 | 'name' => env('APP_NAME', 'Laravel'),
|
---|
| 20 |
|
---|
| 21 | /*
|
---|
| 22 | |--------------------------------------------------------------------------
|
---|
| 23 | | Application Environment
|
---|
| 24 | |--------------------------------------------------------------------------
|
---|
| 25 | |
|
---|
| 26 | | This value determines the "environment" your application is currently
|
---|
| 27 | | running in. This may determine how you prefer to configure various
|
---|
| 28 | | services the application utilizes. Set this in your ".env" file.
|
---|
| 29 | |
|
---|
| 30 | */
|
---|
| 31 |
|
---|
| 32 | 'env' => env('APP_ENV', 'production'),
|
---|
| 33 |
|
---|
| 34 | /*
|
---|
| 35 | |--------------------------------------------------------------------------
|
---|
| 36 | | Application Debug Mode
|
---|
| 37 | |--------------------------------------------------------------------------
|
---|
| 38 | |
|
---|
| 39 | | When your application is in debug mode, detailed error messages with
|
---|
| 40 | | stack traces will be shown on every error that occurs within your
|
---|
| 41 | | application. If disabled, a simple generic error page is shown.
|
---|
| 42 | |
|
---|
| 43 | */
|
---|
| 44 |
|
---|
| 45 | 'debug' => (bool) env('APP_DEBUG', false),
|
---|
| 46 |
|
---|
| 47 | /*
|
---|
| 48 | |--------------------------------------------------------------------------
|
---|
| 49 | | Application URL
|
---|
| 50 | |--------------------------------------------------------------------------
|
---|
| 51 | |
|
---|
| 52 | | This URL is used by the console to properly generate URLs when using
|
---|
| 53 | | the Artisan command line tool. You should set this to the root of
|
---|
| 54 | | your application so that it is used when running Artisan tasks.
|
---|
| 55 | |
|
---|
| 56 | */
|
---|
| 57 |
|
---|
| 58 | 'url' => env('APP_URL', 'http://localhost'),
|
---|
| 59 |
|
---|
| 60 | 'asset_url' => env('ASSET_URL'),
|
---|
| 61 |
|
---|
| 62 | /*
|
---|
| 63 | |--------------------------------------------------------------------------
|
---|
| 64 | | Application Timezone
|
---|
| 65 | |--------------------------------------------------------------------------
|
---|
| 66 | |
|
---|
| 67 | | Here you may specify the default timezone for your application, which
|
---|
| 68 | | will be used by the PHP date and date-time functions. We have gone
|
---|
| 69 | | ahead and set this to a sensible default for you out of the box.
|
---|
| 70 | |
|
---|
| 71 | */
|
---|
| 72 |
|
---|
| 73 | 'timezone' => 'UTC',
|
---|
| 74 |
|
---|
| 75 | /*
|
---|
| 76 | |--------------------------------------------------------------------------
|
---|
| 77 | | Application Locale Configuration
|
---|
| 78 | |--------------------------------------------------------------------------
|
---|
| 79 | |
|
---|
| 80 | | The application locale determines the default locale that will be used
|
---|
| 81 | | by the translation service provider. You are free to set this value
|
---|
| 82 | | to any of the locales which will be supported by the application.
|
---|
| 83 | |
|
---|
| 84 | */
|
---|
| 85 |
|
---|
| 86 | 'locale' => 'en',
|
---|
| 87 |
|
---|
| 88 | /*
|
---|
| 89 | |--------------------------------------------------------------------------
|
---|
| 90 | | Application Fallback Locale
|
---|
| 91 | |--------------------------------------------------------------------------
|
---|
| 92 | |
|
---|
| 93 | | The fallback locale determines the locale to use when the current one
|
---|
| 94 | | is not available. You may change the value to correspond to any of
|
---|
| 95 | | the language folders that are provided through your application.
|
---|
| 96 | |
|
---|
| 97 | */
|
---|
| 98 |
|
---|
| 99 | 'fallback_locale' => 'en',
|
---|
| 100 |
|
---|
| 101 | /*
|
---|
| 102 | |--------------------------------------------------------------------------
|
---|
| 103 | | Faker Locale
|
---|
| 104 | |--------------------------------------------------------------------------
|
---|
| 105 | |
|
---|
| 106 | | This locale will be used by the Faker PHP library when generating fake
|
---|
| 107 | | data for your database seeds. For example, this will be used to get
|
---|
| 108 | | localized telephone numbers, street address information and more.
|
---|
| 109 | |
|
---|
| 110 | */
|
---|
| 111 |
|
---|
| 112 | 'faker_locale' => 'en_US',
|
---|
| 113 |
|
---|
| 114 | /*
|
---|
| 115 | |--------------------------------------------------------------------------
|
---|
| 116 | | Encryption Key
|
---|
| 117 | |--------------------------------------------------------------------------
|
---|
| 118 | |
|
---|
| 119 | | This key is used by the Illuminate encrypter service and should be set
|
---|
| 120 | | to a random, 32 character string, otherwise these encrypted strings
|
---|
| 121 | | will not be safe. Please do this before deploying an application!
|
---|
| 122 | |
|
---|
| 123 | */
|
---|
| 124 |
|
---|
| 125 | 'key' => env('APP_KEY'),
|
---|
| 126 |
|
---|
| 127 | 'cipher' => 'AES-256-CBC',
|
---|
| 128 |
|
---|
| 129 | /*
|
---|
| 130 | |--------------------------------------------------------------------------
|
---|
| 131 | | Maintenance Mode Driver
|
---|
| 132 | |--------------------------------------------------------------------------
|
---|
| 133 | |
|
---|
| 134 | | These configuration options determine the driver used to determine and
|
---|
| 135 | | manage Laravel's "maintenance mode" status. The "cache" driver will
|
---|
| 136 | | allow maintenance mode to be controlled across multiple machines.
|
---|
| 137 | |
|
---|
| 138 | | Supported drivers: "file", "cache"
|
---|
| 139 | |
|
---|
| 140 | */
|
---|
| 141 |
|
---|
| 142 | 'maintenance' => [
|
---|
| 143 | 'driver' => 'file',
|
---|
| 144 | // 'store' => 'redis',
|
---|
| 145 | ],
|
---|
| 146 |
|
---|
| 147 | /*
|
---|
| 148 | |--------------------------------------------------------------------------
|
---|
| 149 | | Autoloaded Service Providers
|
---|
| 150 | |--------------------------------------------------------------------------
|
---|
| 151 | |
|
---|
| 152 | | The service providers listed here will be automatically loaded on the
|
---|
| 153 | | request to your application. Feel free to add your own services to
|
---|
| 154 | | this array to grant expanded functionality to your applications.
|
---|
| 155 | |
|
---|
| 156 | */
|
---|
| 157 |
|
---|
| 158 | 'providers' => ServiceProvider::defaultProviders()->merge([
|
---|
| 159 | /*
|
---|
| 160 | * Package Service Providers...
|
---|
| 161 | */
|
---|
| 162 |
|
---|
| 163 | /*
|
---|
| 164 | * Application Service Providers...
|
---|
| 165 | */
|
---|
| 166 | App\Providers\AppServiceProvider::class,
|
---|
| 167 | App\Providers\AuthServiceProvider::class,
|
---|
| 168 | // App\Providers\BroadcastServiceProvider::class,
|
---|
| 169 | App\Providers\EventServiceProvider::class,
|
---|
| 170 | App\Providers\RouteServiceProvider::class,
|
---|
| 171 | ])->toArray(),
|
---|
| 172 |
|
---|
| 173 | /*
|
---|
| 174 | |--------------------------------------------------------------------------
|
---|
| 175 | | Class Aliases
|
---|
| 176 | |--------------------------------------------------------------------------
|
---|
| 177 | |
|
---|
| 178 | | This array of class aliases will be registered when this application
|
---|
| 179 | | is started. However, feel free to register as many as you wish as
|
---|
| 180 | | the aliases are "lazy" loaded so they don't hinder performance.
|
---|
| 181 | |
|
---|
| 182 | */
|
---|
| 183 |
|
---|
| 184 | 'aliases' => Facade::defaultAliases()->merge([
|
---|
| 185 | // 'Example' => App\Facades\Example::class,
|
---|
| 186 | ])->toArray(),
|
---|
| 187 |
|
---|
| 188 | ];
|
---|