5 'env' => env('APP_ENV', 'production'),
8 * Set the default view type for various lists. Can be overridden by user preferences.
9 * This will be used for public viewers and users that have not set a preference.
12 'books' => env('APP_VIEWS_BOOKS', 'list')
16 * Allow <script> tags to entered within page content.
17 * <script> tags are escaped by default.
18 * Even when overridden the WYSIWYG editor may still escape script content.
20 'allow_content_scripts' => env('ALLOW_CONTENT_SCRIPTS', false),
23 * Override the default behaviour for allowing crawlers to crawl the instance.
24 * May be ignored if view has be overridden or modified.
25 * Defaults to null since, if not set, 'app-public' status used instead.
27 'allow_robots' => env('ALLOW_ROBOTS', null),
30 |--------------------------------------------------------------------------
31 | Application Debug Mode
32 |--------------------------------------------------------------------------
34 | When your application is in debug mode, detailed error messages with
35 | stack traces will be shown on every error that occurs within your
36 | application. If disabled, a simple generic error page is shown.
40 'debug' => env('APP_DEBUG', false),
43 |--------------------------------------------------------------------------
45 |--------------------------------------------------------------------------
47 | This URL is used by the console to properly generate URLs when using
48 | the Artisan command line tool. You should set this to the root of
49 | your application so that it is used when running Artisan tasks.
53 'url' => env('APP_URL', '') === 'http://bookstack.dev' ? '' : env('APP_URL', ''),
56 |--------------------------------------------------------------------------
57 | Application Timezone
58 |--------------------------------------------------------------------------
60 | Here you may specify the default timezone for your application, which
61 | will be used by the PHP date and date-time functions. We have gone
62 | ahead and set this to a sensible default for you out of the box.
69 |--------------------------------------------------------------------------
70 | Application Locale Configuration
71 |--------------------------------------------------------------------------
73 | The application locale determines the default locale that will be used
74 | by the translation service provider. You are free to set this value
75 | to any of the locales which will be supported by the application.
79 'locale' => env('APP_LANG', 'en'),
80 'locales' => ['en', 'ar', 'de', 'es', 'es_AR', 'fr', 'nl', 'pt_BR', 'sk', 'sv', 'ja', 'pl', 'it', 'ru', 'zh_CN', 'zh_TW'],
83 |--------------------------------------------------------------------------
84 | Right-to-left text control
85 |--------------------------------------------------------------------------
87 | Right-to-left text control is set to false by default since English
88 | is the primary supported application but this may be dynamically
89 | altered by the applications localization system.
96 |--------------------------------------------------------------------------
97 | Auto-detect the locale for public users
98 |--------------------------------------------------------------------------
100 | For public users their locale can be guessed by headers sent by their
101 | browser. This is usually set by users in their browser settings.
102 | If not found the default app locale will be used.
105 'auto_detect_locale' => env('APP_AUTO_LANG_PUBLIC', true),
108 |--------------------------------------------------------------------------
109 | Application Fallback Locale
110 |--------------------------------------------------------------------------
112 | The fallback locale determines the locale to use when the current one
113 | is not available. You may change the value to correspond to any of
114 | the language folders that are provided through your application.
118 'fallback_locale' => 'en',
121 |--------------------------------------------------------------------------
123 |--------------------------------------------------------------------------
125 | This key is used by the Illuminate encrypter service and should be set
126 | to a random, 32 character string, otherwise these encrypted strings
127 | will not be safe. Please do this before deploying an application!
131 'key' => env('APP_KEY', 'AbAZchsay4uBTU33RubBzLKw203yqSqr'),
133 'cipher' => 'AES-256-CBC',
136 |--------------------------------------------------------------------------
137 | Logging Configuration
138 |--------------------------------------------------------------------------
140 | Here you may configure the log settings for your application. Out of
141 | the box, Laravel uses the Monolog PHP logging library. This gives
142 | you a variety of powerful log handlers / formatters to utilize.
144 | Available Settings: "single", "daily", "syslog", "errorlog"
148 'log' => env('APP_LOGGING', 'single'),
151 |--------------------------------------------------------------------------
152 | Autoloaded Service Providers
153 |--------------------------------------------------------------------------
155 | The service providers listed here will be automatically loaded on the
156 | request to your application. Feel free to add your own services to
157 | this array to grant expanded functionality to your applications.
164 * Laravel Framework Service Providers...
166 Illuminate\Auth\AuthServiceProvider::class,
167 Illuminate\Broadcasting\BroadcastServiceProvider::class,
168 Illuminate\Bus\BusServiceProvider::class,
169 Illuminate\Cache\CacheServiceProvider::class,
170 Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
171 Illuminate\Cookie\CookieServiceProvider::class,
172 Illuminate\Database\DatabaseServiceProvider::class,
173 Illuminate\Encryption\EncryptionServiceProvider::class,
174 Illuminate\Filesystem\FilesystemServiceProvider::class,
175 Illuminate\Foundation\Providers\FoundationServiceProvider::class,
176 Illuminate\Hashing\HashServiceProvider::class,
177 Illuminate\Mail\MailServiceProvider::class,
178 Illuminate\Pipeline\PipelineServiceProvider::class,
179 Illuminate\Queue\QueueServiceProvider::class,
180 Illuminate\Redis\RedisServiceProvider::class,
181 Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
182 Illuminate\Session\SessionServiceProvider::class,
183 Illuminate\Translation\TranslationServiceProvider::class,
184 Illuminate\Validation\ValidationServiceProvider::class,
185 Illuminate\View\ViewServiceProvider::class,
186 Illuminate\Notifications\NotificationServiceProvider::class,
187 SocialiteProviders\Manager\ServiceProvider::class,
192 Intervention\Image\ImageServiceProvider::class,
193 Barryvdh\DomPDF\ServiceProvider::class,
194 Barryvdh\Snappy\ServiceProvider::class,
198 * Application Service Providers...
200 BookStack\Providers\PaginationServiceProvider::class,
202 BookStack\Providers\AuthServiceProvider::class,
203 BookStack\Providers\AppServiceProvider::class,
204 BookStack\Providers\BroadcastServiceProvider::class,
205 BookStack\Providers\EventServiceProvider::class,
206 BookStack\Providers\RouteServiceProvider::class,
207 BookStack\Providers\CustomFacadeProvider::class,
211 |--------------------------------------------------------------------------
213 |--------------------------------------------------------------------------
215 | This array of class aliases will be registered when this application
216 | is started. However, feel free to register as many as you wish as
217 | the aliases are "lazy" loaded so they don't hinder performance.
223 'App' => Illuminate\Support\Facades\App::class,
224 'Artisan' => Illuminate\Support\Facades\Artisan::class,
225 'Auth' => Illuminate\Support\Facades\Auth::class,
226 'Blade' => Illuminate\Support\Facades\Blade::class,
227 'Bus' => Illuminate\Support\Facades\Bus::class,
228 'Cache' => Illuminate\Support\Facades\Cache::class,
229 'Config' => Illuminate\Support\Facades\Config::class,
230 'Cookie' => Illuminate\Support\Facades\Cookie::class,
231 'Crypt' => Illuminate\Support\Facades\Crypt::class,
232 'DB' => Illuminate\Support\Facades\DB::class,
233 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
234 'Event' => Illuminate\Support\Facades\Event::class,
235 'File' => Illuminate\Support\Facades\File::class,
236 'Hash' => Illuminate\Support\Facades\Hash::class,
237 'Input' => Illuminate\Support\Facades\Input::class,
238 'Inspiring' => Illuminate\Foundation\Inspiring::class,
239 'Lang' => Illuminate\Support\Facades\Lang::class,
240 'Log' => Illuminate\Support\Facades\Log::class,
241 'Mail' => Illuminate\Support\Facades\Mail::class,
242 'Notification' => Illuminate\Support\Facades\Notification::class,
243 'Password' => Illuminate\Support\Facades\Password::class,
244 'Queue' => Illuminate\Support\Facades\Queue::class,
245 'Redirect' => Illuminate\Support\Facades\Redirect::class,
246 'Redis' => Illuminate\Support\Facades\Redis::class,
247 'Request' => Illuminate\Support\Facades\Request::class,
248 'Response' => Illuminate\Support\Facades\Response::class,
249 'Route' => Illuminate\Support\Facades\Route::class,
250 'Schema' => Illuminate\Support\Facades\Schema::class,
251 'Session' => Illuminate\Support\Facades\Session::class,
252 'Storage' => Illuminate\Support\Facades\Storage::class,
253 'URL' => Illuminate\Support\Facades\URL::class,
254 'Validator' => Illuminate\Support\Facades\Validator::class,
255 'View' => Illuminate\Support\Facades\View::class,
256 'Socialite' => Laravel\Socialite\Facades\Socialite::class,
262 'ImageTool' => Intervention\Image\Facades\Image::class,
263 'DomPDF' => Barryvdh\DomPDF\Facade::class,
264 'SnappyPDF' => Barryvdh\Snappy\Facades\SnappyPdf::class,
270 'Activity' => BookStack\Services\Facades\Activity::class,
271 'Setting' => BookStack\Services\Facades\Setting::class,
272 'Views' => BookStack\Services\Facades\Views::class,
273 'Images' => BookStack\Services\Facades\Images::class,
277 'proxies' => env('APP_PROXIES', ''),