Skip to content

Commit 2015482

Browse files
reafactor
1 parent f2a9811 commit 2015482

18 files changed

+3397
-891
lines changed
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
<?php
2+
3+
return [
4+
/*
5+
|--------------------------------------------------------------------------
6+
| Installer Configuration
7+
|--------------------------------------------------------------------------
8+
|
9+
| Configure the behavior of Moox package installers.
10+
| Each installer can be enabled/disabled, prioritized, and customized.
11+
|
12+
*/
13+
14+
'installers' => [
15+
'migrations' => [
16+
'enabled' => true,
17+
'priority' => 10,
18+
'run_after_publish' => true,
19+
'skip_existing' => true,
20+
'force' => false,
21+
],
22+
23+
// 'configs' => [
24+
// 'enabled' => true,
25+
// 'priority' => 20,
26+
// 'skip_existing' => true,
27+
// 'force' => false,
28+
// ],
29+
30+
// 'translations' => [
31+
// 'enabled' => true,
32+
// 'priority' => 30,
33+
// 'skip_existing' => true,
34+
// 'force' => false,
35+
// ],
36+
37+
// 'seeders' => [
38+
// 'enabled' => true,
39+
// 'priority' => 50,
40+
// 'require_confirmation' => true,
41+
// ],
42+
43+
'plugins' => [
44+
'enabled' => true,
45+
'priority' => 100,
46+
'allow_multiple_panels' => true,
47+
],
48+
],
49+
50+
/*
51+
|--------------------------------------------------------------------------
52+
| Skip Installers
53+
|--------------------------------------------------------------------------
54+
|
55+
| List of installer types to skip during installation.
56+
| These installers won't be available for selection.
57+
|
58+
*/
59+
60+
'skip' => [
61+
// 'seeders',
62+
// 'translations',
63+
],
64+
65+
/*
66+
|--------------------------------------------------------------------------
67+
| Only Installers
68+
|--------------------------------------------------------------------------
69+
|
70+
| If set, ONLY these installer types will be available.
71+
| Takes precedence over 'skip'.
72+
|
73+
*/
74+
75+
'only' => [
76+
// 'migrations',
77+
// 'configs',
78+
// 'plugins',
79+
],
80+
81+
/*
82+
|--------------------------------------------------------------------------
83+
| Custom Installers
84+
|--------------------------------------------------------------------------
85+
|
86+
| Register additional installer classes.
87+
| Each entry should be a fully qualified class name.
88+
|
89+
*/
90+
91+
'custom_installers' => [
92+
// \App\Installers\MyCustomInstaller::class,
93+
],
94+
95+
/*
96+
|--------------------------------------------------------------------------
97+
| Hooks
98+
|--------------------------------------------------------------------------
99+
|
100+
| Callback classes for installation lifecycle hooks.
101+
| Each class should implement the appropriate hook interface.
102+
|
103+
*/
104+
105+
'hooks' => [
106+
'before_install' => null,
107+
'after_install' => null,
108+
'before_migrations' => null,
109+
'after_migrations' => null,
110+
'before_configs' => null,
111+
'after_configs' => null,
112+
'before_plugins' => null,
113+
'after_plugins' => null,
114+
],
115+
];
116+

0 commit comments

Comments
 (0)