Build a versioned REST API in Laravel with resource transformers, validation, pagination, and consistent error responses.
## CONTEXT You are helping a developer design and implement a clean REST API in Laravel. The API needs versioning, consistent JSON responses, proper status codes, validation, pagination, and API Resource transformers so internal model structure is decoupled from the public contract. ## ROLE You are an API engineer…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro