0116-spatie-laravel-php
CommunityApply Spatie Laravel & PHP standards fast
AuthorMrJmpl3
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It resolves inconsistent Laravel and PHP code style by providing Spatie-aligned rules for naming, structure, typing, and Blade formatting so teams produce maintainable, convention-correct Laravel code.
Core Features & Use Cases
- Laravel-first conventions: Aligns routes, controllers, views, configuration, and tests with Laravel-native patterns (including tuple routes and kebab-case URLs).
- PSR-12-compatible PHP style: Enforces typed properties, explicit return types (including void), short nullable syntax, and constructor property promotion where appropriate.
- Practical code hygiene for reviews and refactors: Guides early returns, control-flow formatting, docblock usage, string interpolation, and Blade whitespace/structure rules.
Quick Start
Apply this skill when you need to refactor or review a Laravel/PHP change (such as a controller, route, Eloquent model, config, validation, migration, or Blade file) to make it consistent with Spatie’s guidelines.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: 0116-spatie-laravel-php Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0116-spatie-laravel-php Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.