-
Notifications
You must be signed in to change notification settings - Fork 65
/
config.php
94 lines (82 loc) · 3.07 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php
return [
/*
|--------------------------------------------------------------------------
| Modules Namespace
|--------------------------------------------------------------------------
|
| This is the PHP namespace that your modules will be created in. For
| example, a module called "Helpers" will be placed in \Modules\Helpers
| by default.
|
| It is *highly recommended* that you configure this to your organization
| name to make extracting modules to their own package easier (should you
| choose to ever do so).
|
| If you set the namespace, you should also set the vendor name to match.
|
*/
'modules_namespace' => 'Modules',
/*
|--------------------------------------------------------------------------
| Composer "Vendor" Name
|--------------------------------------------------------------------------
|
| This is the prefix used for your composer.json file. This should be the
| kebab-case version of your module namespace (if left null, we will
| generate the kebab-case version for you).
|
*/
'modules_vendor' => null,
/*
|--------------------------------------------------------------------------
| Modules Directory
|--------------------------------------------------------------------------
|
| If you want to install modules in a custom directory, you can do so here.
| Keeping the default `app-modules/` directory is highly recommended,
| though, as it keeps your modules near the rest of your application code
| in an alpha-sorted directory listing.
|
*/
'modules_directory' => 'app-modules',
/*
|--------------------------------------------------------------------------
| Base Test Case
|--------------------------------------------------------------------------
|
| This is the base TestCase class name that auto-generated Tests should
| extend. By default it assumes the default \Tests\TestCase exists.
|
*/
'tests_base' => 'Tests\TestCase',
/*
|--------------------------------------------------------------------------
| Custom Stubs
|--------------------------------------------------------------------------
|
| If you would like to use your own custom stubs for new modules, you can
| configure those here. This should be an array where the key is the path
| relative to the module and the value is the absolute path to the stub
| stub file. Destination paths and contents support placeholders. See the
| README.md file for more information.
|
| For example:
|
| 'stubs' => [
| 'src/Providers/StubClassNamePrefixServiceProvider.php' => base_path('stubs/app-modules/ServiceProvider.php'),
| ],
*/
'stubs' => null,
/*
|--------------------------------------------------------------------------
| Custom override of event discovery
|--------------------------------------------------------------------------
|
| This is a custom override of the event discovery feature. If you want to
| disable event discovery, set this to false. If you want to enable event
| discovery, set this to true. We will still check the app namespace for
| the presence of event discovery.
*/
'should_discover_events' => null,
];