php
FeaturedPHP development: code quality, PSR standards, testing with PHPUnit.
AI & Automation 412 stars
42 forks Updated 3 days ago MIT
Install
Quality Score: 96/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# PHP Skill
PHP code quality and testing: strict types, PSR-12 compliance, modern language features, framework idioms, static analysis tooling, and PHPUnit testing patterns.
## Reference Loading Table
| Signal | Reference | Size |
|--------|-----------|------|
| union types, intersection types, DNF, enums, readonly, named arguments, match expression, null-safe operator, PHP 8.0, PHP 8.1, PHP 8.2 | `references/modern-php-features.md` | ~160 lines |
| Laravel, Eloquent, Collections, Service Container, Symfony, DI attributes, Event Dispatcher, framework | `references/framework-idioms.md` | ~70 lines |
| PHP-CS-Fixer, PHPStan, Psalm, Rector, static analysis, CI, linting, code style, taint analysis | `references/quality-tools.md` | ~60 lines |
| PHPUnit tests, data providers, mocks, stubs, database testing, HTTP testing, coverage | `references/testing-patterns.md` | ~120 lines |
| quality review process, phases, PSR-12 enforcement | `references/php-quality.md` | ~60 lines |
| test writing process, test doubles, Prophecy, database fixtures | `references/php-testing.md` | ~50 lines |
**Loading rule.** Read the references whose signals match the task before responding.
---
## Core Rules (Always Apply)
### Strict Types Declaration
Every PHP file must begin with `declare(strict_types=1)`. This enforces scalar type coercion rules, catching type errors at call time instead of silently converting values. Omitting it is a code quality defect.
### PSR-12 Coding Standard
PSR-12 ext...
Details
- Author
- notque
- Repository
- notque/vexjoy-agent
- Created
- 4 months ago
- Last Updated
- 3 days ago
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
php-quality
PHP code quality: PSR standards, strict types, framework idioms.
412 Updated 3 days ago
notque AI & Automation Listed
php-best-practices
PHP 8.x modern patterns, PSR standards, and SOLID principles. Use when reviewing PHP code, checking type safety, auditing code quality, or ensuring PHP best practices. Triggers on "review PHP", "check PHP code", "audit PHP", or "PHP best practices".
1 Updated yesterday
rcdelfin AI & Automation Solid
php-pro
Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invoke for strict typing, PHPStan level 9, async patterns with Swoole, PSR standards.
4 Updated yesterday
zacklecon