Generate PHP Repository (interface + implementation)
scaffold_repositoryGenerate a repository interface and PDO implementation with prepared statements for a resource. Prevents overwriting existing files unless explicitly enabled.
Instructions
Generates the Repository of a resource: ALWAYS the interface (contract) and the implementation (PDO adapter with prepared statements) together. Does not overwrite existing files unless overwrite=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| overwrite | No | ||
| resourceName | Yes |