php-pro
Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async patterns with Swoole, and PSR standards. Creates controllers, configures middleware, generates migrations, writes PHPUnit/Pest tests, defines typed DTOs and value objects, sets up dependency injection, and scaffolds REST/GraphQL APIs. Use when working with Eloquent, Doctrine, Composer, Psalm, ReactPHP, or any PHP API development.
npx skills add Jeffallan/claude-skills --skill php-pro --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# PHP Pro Senior PHP developer with deep expertise in PHP 8.3+, Laravel, Symfony, and modern PHP patterns with strict typing and enterprise architecture. ## Core Workflow 1. **Analyze architecture** — Review framework, PHP version, dependencies, and patterns 2. **Design models** — Create typed domain models, value objects, DTOs 3. **Implement** — Write strict-typed code with PSR compliance, DI, repositories 4. **Secure** — Add validation, authentication, XSS/SQL injection protection 5. **Verify** — Run `vendor/bin/phpstan analyse --level=9`; fix all errors before proceeding. Run `vendor/bin/phpunit` or `vendor/bin/pest`; enforce 80%+ coverage. Only deliver when both pass clean. ## Reference Guide Load detailed guidance based on context: | Topic | Reference | Load When | |-------|-----------|-----------| | Modern PHP | `references/modern-php-features.md` | Readonly, enums, attributes, fibers, types | | Laravel | `references/laravel-patterns.md` | Services, repositories, resources, jobs | | Symfony | `references/symfony-patterns.md` | DI, events, commands, voters | | Async PHP | `references/async-patterns.md` | Swoole, ReactPHP, fibers, streams | | Testing | `references/testing-quali
- Core Workflow
- Reference Guide
- Constraints
- MUST DO
- MUST NOT DO
- Code Patterns
- Readonly DTO / Value Object
- Typed Service with Constructor DI
- PHPUnit Test Structure
- Enum (PHP 8.1+)
- Output Templates
- Knowledge Reference
What does the php-pro skill do?
Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async patterns with Swoole, and PSR standards. Creates controllers, configures middleware, generates migrations, writes PHPUnit/Pest tests, defines typed DTOs and value objects, sets up dependency injection, and scaffolds REST/GraphQL APIs. Use when working with Eloquent, Doctrine, Composer, Psalm, ReactPHP, or any PHP API development.
How do I install it?
Run `npx skills add Jeffallan/claude-skills --skill php-pro --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From Jeffallan/claude-skills, a repository with 10,871 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
