php-patterns
CommunityMaster PHP Design Patterns for scalable apps.
AuthorVictorSmaniotto
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps PHP developers structure applications using classic design patterns to improve maintainability, testability, and scalability.
Core Features & Use Cases
- Repository Pattern: Abstracts data access and decouples storage from business logic.
- Service Layer Pattern: Orchestrates business workflows and enforces separation of concerns.
- Factory, Strategy, Observer, Decorator, Adapter, and Specification: Provide flexible object creation, interchangeable algorithms, event-driven behavior, and composable business rules.
- Use Case: Apply to enterprise PHP apps (e.g., Laravel) to organize modules, reduce coupling, and enable easier testing.
Quick Start
Implement the patterns in a PHP project by following the examples to structure repositories, services, factories, strategies, and specifications.
Dependency Matrix
Required Modules
None requiredComponents
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: php-patterns Download link: https://github.com/VictorSmaniotto/degestao/archive/main.zip#php-patterns 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.