apiGenerator
Generates complete REST API for a Laravel entity, including migration, model, controller, routes, and tests.
Instructions
Generate REST API for a Laravel entity: migration, model, API controller, routes, tests
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | Protect routes with auth:sanctum middleware | |
| entity | Yes | Entity name in singular (e.g. 'Post', 'Category') | |
| fields | No | Comma-separated field definitions (e.g. 'title:string,content:text') |