{"enrichment":{"faq":[{"a":"Laravel API guides you through building REST APIs using stateless, resource-scoped architecture with explicit boundaries between HTTP, business logic, and data layers. The skill emphasizes invokable controllers, Form Request DTOs, and Action classes to keep concerns separated. You'll learn to structure endpoints around resources, enforce PSR-12 code quality, and establish maintainable patterns from your first resource onward.","q":"How do I build a Laravel REST API with clean architecture?"},{"a":"Laravel API teaches resource-scoped architecture that separates HTTP concerns from business logic and data access. Use invokable controllers for single-action endpoints, Form Request classes for validation and data transfer, and Action classes for reusable business logic. This layered approach keeps your codebase readable and testable while following Laravel conventions and PSR-12 standards.","q":"What's the best way to structure a Laravel API project?"},{"a":"Laravel API covers stateless JWT authentication for APIs and versioned endpoint design. You'll configure token-based auth to replace session cookies, implement versioning strategies to manage API evolution, and ensure each request carries authentication context without server-side state. The skill shows how to integrate these patterns into your resource routing and controller structure.","q":"How do I add JWT auth to Laravel and set up API versioning?"},{"a":"Laravel API emphasizes stateless design, explicit resource routing, PSR-12 code quality, and separation of concerns through invokable controllers and Action classes. Best practices include using Form Request DTOs for validation, filtering via query builders, consistent response formatting, and avoiding anti-patterns like fat controllers or mixed business logic. These patterns ensure your API remains maintainable and scalable.","q":"What Laravel API best practices should I follow?"},{"a":"Laravel API teaches code review techniques focused on architecture boundaries, PSR-12 compliance, and design patterns. Look for violations like business logic in controllers, inconsistent response formats, or missing validation layers. Refactor by extracting Action classes, using Form Requests, and ensuring each layer has a single responsibility. The skill guides you toward readable, testable, production-grade code.","q":"How can I review and refactor my Laravel API code for quality?"},{"a":"Laravel API shows how to scaffold REST endpoints using invokable controllers, resource routing, and Form Request validation. Each resource gets a dedicated controller with single-action methods, a Form Request for input handling, and clear separation from business logic. This convention-based approach ensures consistency across your API and reduces boilerplate while maintaining clean architecture.","q":"How do I scaffold new API resources following Laravel conventions?"}],"shadow_tags":["rest-api-framework","jwt-authentication","dto-pattern","api-versioning","code-refactoring","psr-12-standards","laravel-architecture","stateless-design","resource-routing","action-classes"],"summary_rewrite":"Laravel API guides you through building REST APIs using stateless, resource-scoped architecture with explicit boundaries between HTTP, business logic, and data layers. It enforces PSR-12 code quality, JWT authentication, versioned endpoints, and invokable controllers to establish maintainable patterns from your first resource."},"files":[{"bytes":11206,"path":"laravel-api/SKILL.md","sha256":"b5b7f5856650cc8bfdad59693c58ae251ea5489c5d8e912fa9f7742e2886c8b1","url":"https://skillfed.io/files/JustSteveKing/laravel-api-skill/laravel-api/372a821d/SKILL.md"}],"id":"JustSteveKing/laravel-api-skill/laravel-api","links":{"html":"https://skillfed.io/JustSteveKing/laravel-api-skill/laravel-api","md":"https://skillfed.io/JustSteveKing/laravel-api-skill/laravel-api.md","repo":"https://github.com/JustSteveKing/laravel-api-skill"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":2,"language":"Python","last_updated":"2026-01-12","license":"MIT","name":"laravel-api","publisher":"JustSteveKing","stars":26},"relations":{"similar":[{"id":"noartem/skills/laravel-api"},{"id":"Jeffallan/claude-skills/laravel-specialist"},{"id":"AsyrafHussin/agent-skills/laravel-best-practices"},{"id":"rawveg/skillsforge-marketplace/laravel"},{"id":"Jeffallan/claude-skills/php-pro"},{"id":"personamanagmentlayer/pcl/php-expert"},{"id":"affaan-m/ECC/laravel-patterns"},{"id":"softspark/ai-toolkit/php-rules"},{"id":"iSerter/laravel-claude-agents/eloquent-best-practices"},{"id":"iSerter/laravel-claude-agents/laravel-systematic-debugging"}]},"slug":{"owner":"JustSteveKing","repo":"laravel-api-skill","skill":"laravel-api"},"version":"372a821d"}
