]> BookStack Code Mirror - bookstack/blob - config/app.php
Initial commit
[bookstack] / config / app.php
1 <?php
2
3 return [
4
5     /*
6     |--------------------------------------------------------------------------
7     | Application Debug Mode
8     |--------------------------------------------------------------------------
9     |
10     | When your application is in debug mode, detailed error messages with
11     | stack traces will be shown on every error that occurs within your
12     | application. If disabled, a simple generic error page is shown.
13     |
14     */
15
16     'debug' => env('APP_DEBUG', false),
17
18     /*
19     |--------------------------------------------------------------------------
20     | Application URL
21     |--------------------------------------------------------------------------
22     |
23     | This URL is used by the console to properly generate URLs when using
24     | the Artisan command line tool. You should set this to the root of
25     | your application so that it is used when running Artisan tasks.
26     |
27     */
28
29     'url' => 'http://localhost',
30
31     /*
32     |--------------------------------------------------------------------------
33     | Application Timezone
34     |--------------------------------------------------------------------------
35     |
36     | Here you may specify the default timezone for your application, which
37     | will be used by the PHP date and date-time functions. We have gone
38     | ahead and set this to a sensible default for you out of the box.
39     |
40     */
41
42     'timezone' => 'UTC',
43
44     /*
45     |--------------------------------------------------------------------------
46     | Application Locale Configuration
47     |--------------------------------------------------------------------------
48     |
49     | The application locale determines the default locale that will be used
50     | by the translation service provider. You are free to set this value
51     | to any of the locales which will be supported by the application.
52     |
53     */
54
55     'locale' => 'en',
56
57     /*
58     |--------------------------------------------------------------------------
59     | Application Fallback Locale
60     |--------------------------------------------------------------------------
61     |
62     | The fallback locale determines the locale to use when the current one
63     | is not available. You may change the value to correspond to any of
64     | the language folders that are provided through your application.
65     |
66     */
67
68     'fallback_locale' => 'en',
69
70     /*
71     |--------------------------------------------------------------------------
72     | Encryption Key
73     |--------------------------------------------------------------------------
74     |
75     | This key is used by the Illuminate encrypter service and should be set
76     | to a random, 32 character string, otherwise these encrypted strings
77     | will not be safe. Please do this before deploying an application!
78     |
79     */
80
81     'key' => env('APP_KEY', 'SomeRandomString'),
82
83     'cipher' => 'AES-256-CBC',
84
85     /*
86     |--------------------------------------------------------------------------
87     | Logging Configuration
88     |--------------------------------------------------------------------------
89     |
90     | Here you may configure the log settings for your application. Out of
91     | the box, Laravel uses the Monolog PHP logging library. This gives
92     | you a variety of powerful log handlers / formatters to utilize.
93     |
94     | Available Settings: "single", "daily", "syslog", "errorlog"
95     |
96     */
97
98     'log' => 'single',
99
100     /*
101     |--------------------------------------------------------------------------
102     | Autoloaded Service Providers
103     |--------------------------------------------------------------------------
104     |
105     | The service providers listed here will be automatically loaded on the
106     | request to your application. Feel free to add your own services to
107     | this array to grant expanded functionality to your applications.
108     |
109     */
110
111     'providers' => [
112
113         /*
114          * Laravel Framework Service Providers...
115          */
116         Illuminate\Foundation\Providers\ArtisanServiceProvider::class,
117         Illuminate\Auth\AuthServiceProvider::class,
118         Illuminate\Broadcasting\BroadcastServiceProvider::class,
119         Illuminate\Bus\BusServiceProvider::class,
120         Illuminate\Cache\CacheServiceProvider::class,
121         Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
122         Illuminate\Routing\ControllerServiceProvider::class,
123         Illuminate\Cookie\CookieServiceProvider::class,
124         Illuminate\Database\DatabaseServiceProvider::class,
125         Illuminate\Encryption\EncryptionServiceProvider::class,
126         Illuminate\Filesystem\FilesystemServiceProvider::class,
127         Illuminate\Foundation\Providers\FoundationServiceProvider::class,
128         Illuminate\Hashing\HashServiceProvider::class,
129         Illuminate\Mail\MailServiceProvider::class,
130         Illuminate\Pagination\PaginationServiceProvider::class,
131         Illuminate\Pipeline\PipelineServiceProvider::class,
132         Illuminate\Queue\QueueServiceProvider::class,
133         Illuminate\Redis\RedisServiceProvider::class,
134         Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
135         Illuminate\Session\SessionServiceProvider::class,
136         Illuminate\Translation\TranslationServiceProvider::class,
137         Illuminate\Validation\ValidationServiceProvider::class,
138         Illuminate\View\ViewServiceProvider::class,
139
140         /*
141          * Application Service Providers...
142          */
143         Oxbow\Providers\AppServiceProvider::class,
144         Oxbow\Providers\EventServiceProvider::class,
145         Oxbow\Providers\RouteServiceProvider::class,
146
147     ],
148
149     /*
150     |--------------------------------------------------------------------------
151     | Class Aliases
152     |--------------------------------------------------------------------------
153     |
154     | This array of class aliases will be registered when this application
155     | is started. However, feel free to register as many as you wish as
156     | the aliases are "lazy" loaded so they don't hinder performance.
157     |
158     */
159
160     'aliases' => [
161
162         'App'       => Illuminate\Support\Facades\App::class,
163         'Artisan'   => Illuminate\Support\Facades\Artisan::class,
164         'Auth'      => Illuminate\Support\Facades\Auth::class,
165         'Blade'     => Illuminate\Support\Facades\Blade::class,
166         'Bus'       => Illuminate\Support\Facades\Bus::class,
167         'Cache'     => Illuminate\Support\Facades\Cache::class,
168         'Config'    => Illuminate\Support\Facades\Config::class,
169         'Cookie'    => Illuminate\Support\Facades\Cookie::class,
170         'Crypt'     => Illuminate\Support\Facades\Crypt::class,
171         'DB'        => Illuminate\Support\Facades\DB::class,
172         'Eloquent'  => Illuminate\Database\Eloquent\Model::class,
173         'Event'     => Illuminate\Support\Facades\Event::class,
174         'File'      => Illuminate\Support\Facades\File::class,
175         'Hash'      => Illuminate\Support\Facades\Hash::class,
176         'Input'     => Illuminate\Support\Facades\Input::class,
177         'Inspiring' => Illuminate\Foundation\Inspiring::class,
178         'Lang'      => Illuminate\Support\Facades\Lang::class,
179         'Log'       => Illuminate\Support\Facades\Log::class,
180         'Mail'      => Illuminate\Support\Facades\Mail::class,
181         'Password'  => Illuminate\Support\Facades\Password::class,
182         'Queue'     => Illuminate\Support\Facades\Queue::class,
183         'Redirect'  => Illuminate\Support\Facades\Redirect::class,
184         'Redis'     => Illuminate\Support\Facades\Redis::class,
185         'Request'   => Illuminate\Support\Facades\Request::class,
186         'Response'  => Illuminate\Support\Facades\Response::class,
187         'Route'     => Illuminate\Support\Facades\Route::class,
188         'Schema'    => Illuminate\Support\Facades\Schema::class,
189         'Session'   => Illuminate\Support\Facades\Session::class,
190         'Storage'   => Illuminate\Support\Facades\Storage::class,
191         'URL'       => Illuminate\Support\Facades\URL::class,
192         'Validator' => Illuminate\Support\Facades\Validator::class,
193         'View'      => Illuminate\Support\Facades\View::class,
194
195     ],
196
197 ];