laravel-architecture

Generate Laravel application architecture using Laravel Actions, domain organization, and Eloquent models.

10|3|Updated Mar 14, 2025
One-click install
npx skills add https://github.com/Mentor-Wizard/mentor-wizard-webapp --skill laravel-architecture-mentor-wizard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-architecture
Source: https://github.com/Mentor-Wizard/mentor-wizard-webapp/tree/main/.claude/skills/laravel-architecture
Command: npx skills add https://github.com/Mentor-Wizard/mentor-wizard-webapp --skill laravel-architecture-mentor-wizard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a blueprint for structuring modern Laravel applications, ensuring maintainability, scalability, and adherence to best practices.

Core Features & Use Cases

  • Best Practice Implementation: Guides the creation of applications using Laravel Actions, Domain Organization, and Eloquent models.
  • Performance Optimization: Incorporates considerations for Laravel Octane and Redis for enhanced speed.
  • Structured Codebase: Promotes a clean separation of concerns through domain-driven design and clear file organization.
  • Use Case: A new project requires a robust and scalable backend. This Skill can be used to set up the foundational directory structure and architectural patterns for the Laravel application.

Quick Start

Generate a Laravel architecture based on best practices for modern Laravel applications.

Frequently Asked Questions about laravel-architecture

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

FAQPage Schema
How do I structure a modern Laravel application for scalability?

To structure a modern Laravel application for scalability, use domain-driven organization and Laravel Actions to separate business logic from Eloquent models, ensuring a maintainable codebase.

What is the best way to organize Laravel business logic?

The best way to organize Laravel business logic is by using Laravel Actions. This pattern isolates operations into dedicated classes alongside domain-driven organization, promoting a clean separation of concerns.

Does this Laravel architecture skill support Laravel 12 conventions?

Yes, this architecture skill fully supports Laravel 12 conventions. It provides up-to-date structures for middleware, service providers, and command registration tailored for the modern Laravel version.

How do I set up Laravel Octane and Redis for performance?

To set up Laravel Octane and Redis for performance, integrate them into your application architecture to handle high-throughput requests and caching, significantly reducing framework bootstrapping overhead.

When should I use domain-driven design in my PHP backend?

You should use domain-driven design in your PHP backend when your project requires a robust, scalable structure that cleanly separates complex business logic from Eloquent models and infrastructure.