/
config.php
52 lines (44 loc) · 1.8 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
return [
/*
|--------------------------------------------------------------------------
| Define the languages you want exported messages for
|--------------------------------------------------------------------------
*/
'locales' => ['en'],
/*
|--------------------------------------------------------------------------
| Define the messages to export
|--------------------------------------------------------------------------
|
| An array containing the keys of the messages you wish to make accessible
| for the Javascript code.
| Remember that the number of messages sent to the browser influences the
| time the website needs to load. So you are encouraged to limit these
| messages to the minimum you really need.
|
| Supports nesting:
| [ 'mynamespace' => ['test1', 'test2'] ]
| for instance will be internally resolved to:
| ['mynamespace.test1', 'mynamespace.test2']
|
*/
'messages' => [],
/*
|--------------------------------------------------------------------------
| Set the keys of config properties you want to use in javascript.
| Caution: Do not expose any configuration values that should be kept privately!
|--------------------------------------------------------------------------
*/
'config' => [
'app.debug'
],
/*
|--------------------------------------------------------------------------
| Disables the config cache if set to true, so you don't have to
| run `php artisan js-localization:refresh` each time you change configuration files.
| Attention: Should not be used in production mode due to decreased performance.
|--------------------------------------------------------------------------
*/
'disable_config_cache' => false,
];