laravel-api
CommunityShip Laravel REST APIs with best practices.
Authorbmadigan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides a structured approach to building production-ready RESTful APIs using Laravel, ensuring consistent data transformation, routing, and security patterns across projects.
Core Features & Use Cases
- Resource-driven APIs: Use Eloquent API Resources and Collections to shape JSON responses consistently for models.
- Pagination, Versioning & Rate Limiting: Implement scalable data access with pagination, API version prefixes, and request throttling.
- Robust Practices: Includes controllers, form requests, routes, and tests to enforce validation, eager loading, and secure access across endpoints.
- Use Case: For a multi-model application (posts, users, comments), you would expose versioned endpoints like /api/v1/posts with standardized responses and token-based authentication.
Quick Start
Install Laravel project dependencies and scaffold API structure; create resources, controllers, requests, routes, and tests to expose a RESTful API.
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 Download link: https://github.com/bmadigan/ask-my-doc/archive/main.zip#laravel-api 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 471,000+ vetted skills library on demand.