php-language
Installation
SKILL.md
PHP Language Standards
Priority: P0 (CRITICAL)
Structure
src/
└── {Namespace}/
└── {Class}.php
Implementation Guidelines
Core Language Standards
- Strict Typing: Declare
declare(strict_types=1);at very top of every file. - Type Hinting: Apply scalar type hints (e.g.,
string,int) and return types to all functions. - Strict Comparison: Avoid loose
==comparison; always use===for strict equality.