{"enrichment":{"faq":[{"a":"laravel-patterns teaches production-grade Laravel architecture and design patterns for building maintainable applications. The skill covers structuring controllers, services, and models with clear boundaries; mastering Eloquent ORM with relationships, scopes, and query optimization; building scalable APIs with resources, routing, and pagination; and implementing queues, events, caching, and background job patterns. You'll learn proven approaches to separate concerns and keep your codebase organized as it grows.","q":"What are the core Laravel architecture patterns covered?"},{"a":"laravel-patterns emphasizes clear separation between controllers and services to maintain single responsibility. Controllers handle HTTP requests and responses, while services contain business logic. This boundary prevents fat controllers and makes testing easier. The skill teaches how to inject services into controllers via Laravel's service container, organize related business logic into focused service classes, and use action classes for complex operations. This structure scales well as your application grows.","q":"How should I structure Laravel controllers and services?"},{"a":"laravel-patterns covers Eloquent ORM mastery including relationships (one-to-many, many-to-many, polymorphic), query scopes for reusable filtering, and optimization techniques. Key topics include avoiding N+1 queries through eager loading, using global scopes for soft deletes and other cross-cutting concerns, building efficient query builders, and leveraging Eloquent's relationship methods. The skill shows how to structure models with clear relationships and use scopes to keep queries DRY and performant.","q":"What does laravel-patterns teach about Eloquent ORM best practices?"},{"a":"laravel-patterns teaches API design through resource classes for consistent response formatting, nested routes with scoped bindings for clean URL structures, and pagination strategies for large datasets. You'll learn to use implicit and explicit model binding to automatically resolve route parameters, structure API resources to transform Eloquent models into JSON, implement pagination for efficient data delivery, and organize routes logically. These patterns ensure your APIs remain maintainable and performant as they scale.","q":"How do I build scalable APIs with routing and model binding?"},{"a":"laravel-patterns covers queues for offloading long-running tasks, events and listeners for decoupled communication, and caching strategies for performance. You'll learn to dispatch jobs to background queues, set up event listeners that respond to application events, implement retry logic and failure handling, use caching to reduce database queries, and coordinate multi-step updates with transactions. These patterns keep your application responsive and handle complex workflows reliably.","q":"What background job and event patterns does laravel-patterns cover?"},{"a":"laravel-patterns teaches form validation through request classes that centralize validation rules and custom messages, keeping controllers lean. For databases, you'll learn to structure migrations for schema changes, use transactions for multi-step updates, implement soft deletes with global scopes, and design schemas that support your application's relationships. The skill emphasizes validation as a first line of defense and migrations as version control for your database structure.","q":"How does laravel-patterns address form validation and database migrations?"}],"shadow_tags":["domain-driven-design","scalable-architecture","orm-patterns","api-design","dependency-injection","database-optimization","async-processing","code-organization","validation-layer","performance-tuning"],"summary_rewrite":"Master Laravel's architecture through proven patterns for building maintainable, production-ready applications. Covers controller and service layer design, Eloquent modeling with relationships and scopes, API resource structuring, and background job handling with queues and events."},"files":[{"bytes":10551,"path":"skills/laravel-patterns/SKILL.md","sha256":"4490c5c984f684c0b8878ce4b283c0f187ec1e509d2e908027ec6378c2fe8488","url":"https://skillfed.io/files/affaan-m/ECC/laravel-patterns/b0e9ea43/SKILL.md"}],"id":"affaan-m/ECC/laravel-patterns","links":{"html":"https://skillfed.io/affaan-m/ECC/laravel-patterns","md":"https://skillfed.io/affaan-m/ECC/laravel-patterns.md","repo":"https://github.com/affaan-m/ECC"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":35692,"language":"JavaScript","last_updated":"2026-07-27","license":"MIT","name":"laravel-patterns","publisher":"affaan-m","stars":234207},"relations":{"similar":[{"id":"AsyrafHussin/agent-skills/laravel-best-practices"},{"id":"Jeffallan/claude-skills/laravel-specialist"},{"id":"rawveg/skillsforge-marketplace/laravel"},{"id":"personamanagmentlayer/pcl/php-expert"},{"id":"bagisto/agent-skills/package-development"},{"id":"Pixel-Process-UG/superkit-agents/laravel-specialist"},{"id":"iSerter/laravel-claude-agents/eloquent-best-practices"},{"id":"noartem/skills/laravel-api"},{"id":"JustSteveKing/laravel-api-skill/laravel-api"},{"id":"AsyrafHussin/agent-skills/laravel-database-optimization"}]},"slug":{"owner":"affaan-m","repo":"ECC","skill":"laravel-patterns"},"version":"b0e9ea43"}
