generate_trait
Generate reusable PHP traits for Laravel models to implement common behaviors: slug generation, tenant scoping, sorting, status fields, UUID keys, caching, and media handling.
Instructions
Generate a reusable PHP trait for Laravel models (HasSlug, HasTenant, Sortable, HasStatus, HasUuid, Cachable, HasMedia).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| traitName | Yes | ||
| description | No |