php-pro

Solid

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.

API & Backend 9,537 stars 808 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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-quality.md` | PHPUnit, PHPStan, Pest, mocking | ## Constraints ### MUST DO - Declare strict types (`declare(strict_types=1)`) - Use type hints for all properties, parameters, returns - Follow PSR-12 coding standard - Run PHPStan level 9 before delivery - Use readonly properties where applicable -...

Details

Author
Jeffallan
Repository
Jeffallan/claude-skills
Created
7 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

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.

2 Updated today
zacklecon
AI & Automation Listed

ia-php-laravel

Modern PHP 8.4 and Laravel patterns: architecture, Eloquent, queues, testing. Use when working with Laravel, Eloquent, Blade, artisan, PHPUnit, PHPStan, or building/testing PHP applications with frameworks. Not for PHP internals (php-src) or general PHP language discussion.

20 Updated today
iliaal
Code & Development Listed

php-pro

Use when building, debugging, refactoring, testing, or reviewing PHP code in Laravel, Symfony, generic modern PHP, or legacy PHP 5.6 + Yii 1.1 codebases. Detect the active runtime first, then load only the matching reference set; for Laravel, confirm the resolved major version and load the version-specific reference before touching bootstrap/app.php, middleware, exceptions, auth, testing infrastructure, or Laravel-coupled packages. Not for frontend-only or non-PHP tasks.

1 Updated today
hmj1026
AI & Automation Featured

php-pro

Write idiomatic PHP code with generators, iterators, SPL data structures, and modern OOP features. Use PROACTIVELY for high-performance PHP applications.

39,350 Updated today
sickn33
Data & Documents Featured

php-pro

Write idiomatic PHP code with generators, iterators, SPL data structures, and modern OOP features. Use PROACTIVELY for high-performance PHP applications.

27,705 Updated today
davila7