]> BookStack Code Mirror - bookstack/blob - config/app.php
b9c20763205b2007e9860e6c7ed966eaa366cbb0
[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' => env('APP_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', 'AbAZchsay4uBTU33RubBzLKw203yqSqr'),
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         Laravel\Socialite\SocialiteServiceProvider::class,
140
141         /**
142          * Third Party
143          */
144         Intervention\Image\ImageServiceProvider::class,
145         Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
146         Barryvdh\Debugbar\ServiceProvider::class,
147
148
149         /*
150          * Application Service Providers...
151          */
152         BookStack\Providers\AppServiceProvider::class,
153         BookStack\Providers\EventServiceProvider::class,
154         BookStack\Providers\RouteServiceProvider::class,
155         BookStack\Providers\CustomFacadeProvider::class,
156
157     ],
158
159     /*
160     |--------------------------------------------------------------------------
161     | Class Aliases
162     |--------------------------------------------------------------------------
163     |
164     | This array of class aliases will be registered when this application
165     | is started. However, feel free to register as many as you wish as
166     | the aliases are "lazy" loaded so they don't hinder performance.
167     |
168     */
169
170     'aliases' => [
171
172         'App'       => Illuminate\Support\Facades\App::class,
173         'Artisan'   => Illuminate\Support\Facades\Artisan::class,
174         'Auth'      => Illuminate\Support\Facades\Auth::class,
175         'Blade'     => Illuminate\Support\Facades\Blade::class,
176         'Bus'       => Illuminate\Support\Facades\Bus::class,
177         'Cache'     => Illuminate\Support\Facades\Cache::class,
178         'Config'    => Illuminate\Support\Facades\Config::class,
179         'Cookie'    => Illuminate\Support\Facades\Cookie::class,
180         'Crypt'     => Illuminate\Support\Facades\Crypt::class,
181         'DB'        => Illuminate\Support\Facades\DB::class,
182         'Eloquent'  => Illuminate\Database\Eloquent\Model::class,
183         'Event'     => Illuminate\Support\Facades\Event::class,
184         'File'      => Illuminate\Support\Facades\File::class,
185         'Hash'      => Illuminate\Support\Facades\Hash::class,
186         'Input'     => Illuminate\Support\Facades\Input::class,
187         'Inspiring' => Illuminate\Foundation\Inspiring::class,
188         'Lang'      => Illuminate\Support\Facades\Lang::class,
189         'Log'       => Illuminate\Support\Facades\Log::class,
190         'Mail'      => Illuminate\Support\Facades\Mail::class,
191         'Password'  => Illuminate\Support\Facades\Password::class,
192         'Queue'     => Illuminate\Support\Facades\Queue::class,
193         'Redirect'  => Illuminate\Support\Facades\Redirect::class,
194         'Redis'     => Illuminate\Support\Facades\Redis::class,
195         'Request'   => Illuminate\Support\Facades\Request::class,
196         'Response'  => Illuminate\Support\Facades\Response::class,
197         'Route'     => Illuminate\Support\Facades\Route::class,
198         'Schema'    => Illuminate\Support\Facades\Schema::class,
199         'Session'   => Illuminate\Support\Facades\Session::class,
200         'Storage'   => Illuminate\Support\Facades\Storage::class,
201         'URL'       => Illuminate\Support\Facades\URL::class,
202         'Validator' => Illuminate\Support\Facades\Validator::class,
203         'View'      => Illuminate\Support\Facades\View::class,
204         'Socialite' => Laravel\Socialite\Facades\Socialite::class,
205
206         /**
207          * Third Party
208          */
209
210         'ImageTool' => Intervention\Image\Facades\Image::class,
211         'Debugbar'  => Barryvdh\Debugbar\Facade::class,
212
213         /**
214          * Custom
215          */
216
217         'Activity' => BookStack\Services\Facades\Activity::class,
218         'Setting'  => BookStack\Services\Facades\Setting::class,
219         'Views'    => BookStack\Services\Facades\Views::class,
220         'Images'   => \BookStack\Services\Facades\Images::class,
221
222     ],
223
224 ];