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