laravel-architecture

Generates Laravel 12 application architecture with Action classes, domain organization, and Inertia.js.

150|51|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/AratKruglik/claude-laravel --skill laravel-architecture-aratkruglik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-architecture
Source: https://github.com/AratKruglik/claude-laravel/tree/main/.claude/skills/laravel-architecture
Command: npx skills add https://github.com/AratKruglik/claude-laravel --skill laravel-architecture-aratkruglik

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers establish a well-structured and maintainable architecture for modern Laravel applications, adhering to best practices and improving code organization.

Core Features & Use Cases

  • Architecture Guidance: Provides clear directives on structuring Laravel projects using Action classes, domain organization, and Inertia.js.
  • Best Practices Enforcement: Details conventions for database migrations, seeders, factories, and query optimization.
  • Performance Optimization: Highlights strategies for high performance using Laravel Octane, Redis, and PostgreSQL.
  • Use Case: A new Laravel project needs a solid foundation. This Skill can be used to define the project's core architectural patterns and directory structure from the outset.

Quick Start

Generate a Laravel architecture based on Action classes and domain organization.

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 Laravel application using Action classes and domain organization?

To structure a Laravel application using Action classes, you isolate business logic into dedicated classes and organize code by domain. This approach keeps controllers lightweight and centralizes operations, ensuring maintainable code organization for modern PHP development.

What is the best way to integrate Inertia.js into a Laravel architecture?

Integrating Inertia.js into a Laravel architecture involves building monolithic applications that act like single-page apps. This design provides directives for seamlessly combining Laravel backend routing with Inertia.js to render frontend components without building a separate API.

Does this Laravel architecture guidance support performance tuning with Octane and Redis?

Yes, this Laravel architecture guidance supports performance tuning with Octane and Redis. It highlights specific strategies for high-performance optimization, ensuring your application handles increased throughput efficiently while maintaining robust domain-driven structural conventions.

How do I manage database schema and migrations in a domain-driven Laravel project?

Managing database schema in a domain-driven Laravel project involves adhering to strict conventions for migrations, seeders, and factories. This architectural design ensures database query optimization and maintains schema integrity across different domain boundaries.

Can I use this Laravel architecture skill for projects that do not use Inertia.js?

While this skill emphasizes integration with Inertia.js for frontend development, its core architectural patterns like Action classes and domain organization are applicable independently. You can adapt the structural design guidance for any modern PHP Laravel backend setup.