php-guide
CommunityMaster PHP development with best practices.
Authorar4mirez
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides comprehensive guardrails, patterns, and best practices for modern PHP development, ensuring code quality, maintainability, and adherence to standards.
Core Features & Use Cases
- Enforces Strict Typing: Guides developers to use type declarations everywhere.
- Adheres to PSR Standards: Promotes PSR-12 coding style and PSR-4 autoloading.
- Modern PHP Features: Demonstrates idiomatic use of Enums, Readonly Classes, Match Expressions, and more.
- Robust Error Handling: Outlines strategies for domain-specific exceptions and avoiding common pitfalls.
- Testing & Tooling: Provides guidance on PHPUnit, PHPStan, and PHP-CS-Fixer configurations.
- Use Case: When starting a new PHP project or refactoring an existing one, this Skill acts as a definitive guide to ensure the codebase is clean, secure, and follows industry best practices.
Quick Start
Review the PHP guide to understand the core principles and guardrails for developing with PHP 8.1+.
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: php-guide Download link: https://github.com/ar4mirez/samuel/archive/main.zip#php-guide 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.