Laravel application
Create a staged Laravel application project
When to use it
Create a staged Laravel application project. Use this when you want to add the corresponding files or task to your workspace.
Usage
npm exec -- nx generate @megamono/nx-laravel:application --name="<name>" --dry-runReplace angle-bracket placeholders with reviewed values. Nx's --dry-run previews generator writes; remove it only after reviewing the plan. Examples use npm; use your workspace's package manager if it differs.
Options
Use these options with @megamono/nx-laravel:application. Nx uses the camelCase names shown here; the CLI reference describes command-line aliases. Some options are required only for particular choices.
| Option | Required | Type | Default | Description |
|---|---|---|---|---|
name | Yes | string | — | — |
directory | No | string | — | — |
scope | No | string | — | — |
laravelVersion | No | string | "^13.0" | — |
runtime | No | schema | "system" | — Allowed: "system", "herd". |
herdDomain | No | string | — | Explicit Herd link target site name, without .test. Does not register automatically. |
phpVersion | No | string | — | Optional explicit herd-isolate target version. Does not change PHP automatically. |
Next steps
Review changed files and run the affected project's checks. For options that accept structured values, run the generator's --help or consult the schema in the installed package.