php-best-practices
Modern PHP 8.x patterns, PSR standards, type system best practices, and SOLID principles for clean code.
Install
npx skills add https://github.com/asyrafhussin/agent-skills --skill php-best-practicesStats
| Total installs | 933 |
| Weekly installs | 932 |
| GitHub stars | 19 |
| First seen | Jan 24, 2026 |
| Source | @asyrafhussin/agent-skills |
Summary
- Covers 7 rule categories: type system, modern PHP features (8.0–8.5), PSR standards, SOLID principles, error handling, performance, and security
- Version-aware guidance that detects PHP version from composer.json and runtime, recommending only features available in the target version
- Organized by priority: type safety and security are critical; modern features and SOLID principles are high-impact
- Includes quick reference patterns for constructor promotion, enums, match expressions, nullsafe operators, property hooks, and pipe operators
Tags
Related skills
| Skill | Installs | vs php-best-practices |
|---|---|---|
| powershell-windows | 948 | +15 |
| debugging-wizard | 1,068 | +135 |
| sentry-react-setup | 1,036 | +103 |
| debug-hypothesis | 0 | -933 |
| continuous-agent-loop | 899 | -34 |
FAQ
- How many installs does php-best-practices have?
- php-best-practices has 933 total installs and 932 installs this week.
- Where is php-best-practices hosted?
- php-best-practices is published by @asyrafhussin/agent-skills at https://github.com/asyrafhussin/agent-skills.
- How many GitHub stars does php-best-practices have?
- php-best-practices has 19 GitHub stars.
- When was php-best-practices first indexed?
- OrangeBot.AI first indexed php-best-practices on Jan 24, 2026.
- How do I install php-best-practices?
- Run: npx skills add https://github.com/asyrafhussin/agent-skills --skill php-best-practices