laravel-api-resources
CommunitySpeed up Laravel API resource development.
Authorkrlmrr
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Designing scalable Laravel APIs requires consistent resources, resource collections, and versioned controllers. This skill provides proven patterns for Eloquent resources, nested relationships, and standardized JSON responses to reduce boilerplate and improve API quality.
Core Features & Use Cases
- Automates the setup of UserResource, UserCollection, and versioned controllers with clear conventions.
- Standardizes response shapes, supports nested resources, conditional attributes, pagination, and API versioning.
- Useful for building resilient, versioned APIs across V1, V2, and beyond with maintainable code.
Quick Start
Create a sample UserResource and UserCollection and wire them into a versioned API route to start serving JSON responses.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: laravel-api-resources Download link: https://github.com/krlmrr/laravel-playground/archive/main.zip#laravel-api-resources Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.