Skip to content

Commit c8a645d

Browse files
authored
Update readme.md
1 parent 052da5d commit c8a645d

1 file changed

Lines changed: 24 additions & 24 deletions

File tree

readme.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ Expand the base package with these ready-to-use modules:
4747
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`.
4848

4949
### 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+
```
5454

5555
**Interactions:**
5656
- 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
8080
- **`gen:` prefix**: Used for code generation tasks.
8181
- **`gen:*-permission`**: Specialized prefix for generating base AccessControl permission classes required by the `drago-ex/permission` component.
8282

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.
102102
103103
### Features
104104
- **Intelligent Sorting**: Database migrations are prioritized and grouped together.
@@ -107,4 +107,4 @@ Other commands are listed alphabetically.
107107

108108
## Useful Development Tools
109109
- [Database Migrations](https://github.com/drago-ex/migration)
110-
- [Code Generator](https://github.com/drago-ex/generator)
110+
- [Entity/DataForm Generator](https://github.com/drago-ex/generator)

0 commit comments

Comments
 (0)