php-engineering
Installation
SKILL.md
This skill improves modern PHP work across frameworks, APIs, packages, and long-lived applications.
Quick Start
- Identify the stack: plain PHP, Laravel, Symfony, package, or legacy application.
- Inspect the PHP version, Composer setup, coding standards, and tests before editing.
- Prefer typed interfaces, explicit services, and clear framework boundaries.
- Validate with the test suite and static analysis when present.
Core Rules
- Correctness, clarity, and security first.
- Prefer modern PHP 8.x features that improve readability and type safety.
- Keep controllers thin and move business logic into services or domain objects.
- Avoid array-shaped data when DTOs, value objects, or typed collections communicate intent better.
- Respect the existing framework rather than rebuilding it in userland abstractions.