laravel-patterns

Guide Laravel application architecture with design patterns and Eloquent ORM.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Michae2xl/claude-skills-michael --skill laravel-patterns-michae2xl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-patterns
Source: https://github.com/Michae2xl/claude-skills-michael/tree/main/skills/laravel-patterns
Command: npx skills add https://github.com/Michae2xl/claude-skills-michael --skill laravel-patterns-michae2xl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides guidelines for structuring Laravel web applications to ensure scalability, maintainability, and efficiency.

Core Features & Use Cases

  • Laravel Architecture Patterns: Offers patterns for controllers, services, actions, models, and more.
  • Routing & Controllers: Provides guidance on structuring routes and controllers for better organization.
  • Eloquent ORM: Offers insights on using Eloquent models and relationships effectively.
  • API Resources: Guidelines for designing APIs with resources and pagination.
  • Use Case: For developers building scalable Laravel applications that require efficient data management and API design.

Quick Start

Use the laravel-patterns skill to structure your new Laravel project with recommended layouts and best practices.

Frequently Asked Questions about laravel-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best architecture patterns for structuring scalable Laravel web apps?

Scalable Laravel architecture patterns organize controllers, services, actions, and models to improve maintainability. They provide structured guidelines for routing and Eloquent ORM usage, ensuring efficient data management as your application grows.

How do I structure Laravel controllers and routes for better organization?

To structure Laravel controllers and routes, apply dedicated architecture patterns that separate business logic into services and actions. This organizational approach keeps routing clean and controllers lightweight for maintainable web applications.

What is the best way to use Eloquent ORM models and relationships effectively?

Using Eloquent ORM effectively involves following specific architecture guidelines for model structuring and relationship management. These patterns ensure optimized data retrieval and maintainable model definitions within your Laravel web application.

How do I design APIs with Laravel resources and pagination?

Designing APIs with Laravel resources requires following dedicated architecture guidelines for resource structuring and pagination. These patterns ensure consistent API responses and efficient data serialization for scalable web applications.

Do I need prior Laravel framework knowledge to use these architecture patterns?

Yes, you need existing knowledge of the Laravel framework and its ecosystem. These architecture patterns focus on advanced structuring for controllers, Eloquent ORM, and API resources, requiring familiarity with Laravel web development concepts.