scaffold_crud_module
Create a complete CRUD module including model, migration, controller, service provider, and routes for a database-backed resource.
Instructions
Generate a complete CRUD module: Model, Migration, Controller, ServiceProvider, and route registration. Returns all files needed for a database-backed resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootNamespace | Yes | Plugin root namespace (e.g., "MyPlugin") | |
| resourceName | Yes | Resource name in singular PascalCase (e.g., "Testimonial", "BookReview") | |
| tableName | Yes | Database table name without prefix (e.g., "testimonials") | |
| fields | Yes | Comma-separated field names (e.g., "title,content,author,rating,status") |