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