laravel-conventions

Community

Adopt Laravel 11+ and PHP 8.3+ coding standards.

AuthorThe-Rabak
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This reference helps developers adopt and enforce modern Laravel coding conventions for Laravel 11+ and PHP 8.3+ projects.

Core Features & Use Cases

  • Controller -> FormRequest -> Action/Service -> Model: promotes thin controllers and clear separation of concerns.
  • DTOs, Enums, typed properties, and PSR-12-compliant structure to improve readability and maintainability.
  • Use Case: teams migrating legacy Laravel apps can align their codebase and reviews to the standards described here to reduce technical debt and speed onboarding.

Quick Start

Refactor a Laravel 11+ project to follow the Controller -> FormRequest -> Action/Service -> Model pattern and enforce PSR-12 with Pint linting.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: laravel-conventions
Download link: https://github.com/The-Rabak/naysmith/archive/main.zip#laravel-conventions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.