php-laravel

Community

Laravel patterns and PHP 8 best practices.

Authortenlisboa
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill collects Laravel 12+ development patterns, Eloquent optimization techniques, and PHP 8.x best practices to help build maintainable backend applications.

Core Features & Use Cases

  • Thin Controllers: Keep controllers small; delegate to services.
  • Eloquent Patterns: Use select(), with(), withCount(), lazy(), and relationships patterns to optimize queries.
  • Form Requests & Validation: Use Form Requests for input validation and authorization logic.
  • Testing: Pest-based tests pattern for robust tests.
  • PHP 8 Features: Readonly properties, constructor promotion, and typed properties.

Quick Start

Load the architecture references in recommendations and implement a sample feature using the Service Layer pattern with a Form Request, then format code with the linter.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: php-laravel
Download link: https://github.com/tenlisboa/.claude/archive/main.zip#php-laravel

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 471,000+ vetted skills library on demand.