You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,10 +47,10 @@ Expand the base package with these ready-to-use modules:
47
47
The project includes a specialized tool to automate the initialization of all installed packages. It scans all packages in your `vendor` directory and collects custom setup commands defined in their `composer.json`.
48
48
49
49
### Usage
50
-
Run the orchestrator (inside your Docker container if applicable):
51
-
```bash
52
-
docker compose exec -u www-data server php bin/package-setup
53
-
```
50
+
Run the orchestrator (inside your Docker container if applicable):
51
+
```bash
52
+
docker compose exec -u www-data server php bin/package-setup
53
+
```
54
54
55
55
**Interactions:**
56
56
- Select specific tasks by number (e.g., `1,3`).
@@ -80,25 +80,25 @@ A key-value list where the key is the display name and the value is the shell co
80
80
-**`gen:` prefix**: Used for code generation tasks.
81
81
-**`gen:*-permission`**: Specialized prefix for generating base AccessControl permission classes required by the `drago-ex/permission` component.
82
82
83
-
### Execution Priority (`priority`)
84
-
Controls the order of package setup commands when multiple `db:*` migration commands are available.
85
-
-**Lower numbers** run earlier.
86
-
-**Priority 10**: Recommended for core packages (Auth, Users).
87
-
-**Priority 20+**: Recommended for dependent packages.
88
-
-**Default 100**: Used if no priority is specified.
89
-
90
-
Database commands are always grouped at the top of the list and sorted by priority. This makes it possible to run migrations in the required order, for example authentication tables before permission tables.
91
-
92
-
Example migration order:
93
-
```text
94
-
priority 10 db:migrate-auth
95
-
priority 20 db:migrate-permission
96
-
priority 100 db:migrate-settings
97
-
```
98
-
99
-
Other commands are listed alphabetically.
100
-
101
-
> The same `extra.drago-project.priority` value is also used by `drago-ex/project-installer` when sorting `replace` overlays during resource installation.
83
+
### Execution Priority (`priority`)
84
+
Controls the order of package setup commands when multiple `db:*` migration commands are available.
85
+
-**Lower numbers** run earlier.
86
+
-**Priority 10**: Recommended for core packages (Auth, Users).
87
+
-**Priority 20+**: Recommended for dependent packages.
88
+
-**Default 100**: Used if no priority is specified.
89
+
90
+
Database commands are always grouped at the top of the list and sorted by priority. This makes it possible to run migrations in the required order, for example authentication tables before permission tables.
91
+
92
+
Example migration order:
93
+
```text
94
+
priority 10 db:migrate-auth
95
+
priority 20 db:migrate-permission
96
+
priority 100 db:migrate-settings
97
+
```
98
+
99
+
Other commands are listed alphabetically.
100
+
101
+
> The same `extra.drago-project.priority` value is also used by `drago-ex/project-installer` when sorting `replace` overlays during resource installation.
102
102
103
103
### Features
104
104
-**Intelligent Sorting**: Database migrations are prioritized and grouped together.
@@ -107,4 +107,4 @@ Other commands are listed alphabetically.
0 commit comments