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