Nx but for Composer
composer require --dev erikgaal/cxRun tasks in projects affected by changes.
composer affected -t test| Option | Description |
|---|---|
--bail |
Stop on first error |
--base |
Base of the current branch (usually main) |
--exclude |
Exclude certain projects from being processed |
--graph |
Show the task graph of the command |
--head |
Latest commit of the current branch (usually HEAD) |
--project, -p |
Filter certain projects from being processed |
--target, -t |
Tasks to run for affected projects |
--uncommitted |
Only uncommitted changes |
--untracked |
Only untracked changes |
Show the dependency graph of the project.
composer graph| Option | Description |
|---|---|
--affected |
Highlight affected projects |
--base |
Base of the current branch (usually main) |
--head |
Latest commit of the current branch (usually HEAD) |
--target, -t |
Tasks to run for affected projects |
--uncommitted |
Only uncommitted changes |
--untracked |
Only untracked changes |
Run tasks in multiple projects.
composer run-many [target]...| Option | Description |
|---|---|
--project, -p |
Projects to run |
--parallel |
Run tasks in parallel |
--outputStyle |
How task output should be displayed.dynamic: recommended for local development, overwrites previous outputstatic: recommended for CI, no output is overwritten |