solid-php
CommunitySOLID PHP for Laravel 12 & PHP 8.5
Authorfusengine
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enforces SOLID principles in Laravel 12 and PHP 8.5 projects, ensuring code maintainability, scalability, and adherence to best practices through strict file size limits, interface segregation, and mandatory documentation.
Core Features & Use Cases
- Enforces SOLID Principles: Guides developers on applying Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion.
- Automated Architecture Checks: Auto-detects Laravel and FuseCore architectures, enforcing interface locations and file size limits.
- Decision Trees & Guides: Provides clear decision trees for code placement, pattern selection, and refactoring.
- Use Case: A developer is tasked with adding a new payment gateway to a Laravel application. This Skill ensures the addition is done in an extensible way (OCP) without modifying existing code, by guiding the creation of a new interface implementation and registering it via the ServiceProvider.
Quick Start
Use the solid-php skill to refactor the existing user controller to adhere to SOLID principles.
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: solid-php Download link: https://github.com/fusengine/agents/archive/main.zip#solid-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 223,000+ vetted skills library on demand.