General 458 installs

php-pro

by jeffallan/claude-skills

Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async patterns with…

Skill content

Modern PHP development with strict typing, enterprise patterns, and framework expertise across Laravel and Symfony.

- Enforces PHP 8.3+ strict types, PSR-12 standards, and PHPStan level 9 static analysis on all code before delivery

- Scaffolds typed domain models, DTOs, value objects, services, repositories, and controllers with full dependency injection

- Generates PHPUnit and Pest tests with 80%+ coverage requirements; runs both test suites and static analysis as mandatory verification gates

- Covers Laravel (Eloquent, migrations, middleware, jobs) and Symfony (DI container, events, commands, voters) with framework-specific patterns

- Includes async patterns via Swoole and ReactPHP, enum design, readonly properties, and security hardening (password hashing, input validation, SQL injection prevention)

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

- Analyze architecture - Review framework, PHP version, dependencies, and patterns

- Design models - Create typed domain models, value objects, DTOs

- Implement - Write strict-typed code with PSR compliance, DI, repositories

- Secure - Add validation, authentication, XSS/SQL injection protection

- 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: