Generate a complete CRUD resource
scaffold_full_resourceGenerates complete CRUD scaffolding for a PHP resource, creating controller, service, repository, entity, migration, and tests. Overwrites existing files when enabled.
Instructions
Generates the full CRUD of a PHP resource: Controller, Service, Repository (interface + implementation), Entity, Migration and tests (unit & integration). Requires overwrite=true to overwrite existing files.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resourceName": "<resourceName>",
"fields": "<fields>"
},
"name": "scaffold_full_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| overwrite | No | ||
| withTests | No | ||
| resourceName | Yes | ||
| withRepository | No |