php-pro Skill for Claude Code: Strict-Typed PHP 8.3+, Laravel and Symfony
php-pro makes Claude write strict-typed PHP 8.3+ for Laravel and Symfony and run PHPStan and tests before it hands the code back.
- Installs
- 15.8K
- on skills.sh
- Stars
- 12.2K
- on GitHub
- Files
- 5
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
php-pro is a PHP specialist skill by @jeffallan. Claude follows a five-step workflow: analyze the architecture, design typed models, implement with PSR compliance, secure the code, then verify. It is built for PHP 8.3+, Laravel and Symfony.
The verify step makes Claude run vendor/bin/phpstan analyse --level=9 and vendor/bin/phpunit or vendor/bin/pest, enforce 80%+ coverage and deliver only when both pass. Five reference files cover modern PHP, Laravel, Symfony, async PHP and testing.
Those commands run in your project, so it needs PHPStan and PHPUnit or Pest installed there.
Good for
- PHP developers building Laravel or Symfony apps
- Teams that want strict types, PSR-12 and static analysis enforced
- Developers working on async PHP with Swoole or ReactPHP
Install php-pro
Claude Code
- 1
Copy this prompt.
Install the php-pro skill in Claude Code. Run this command: /plugin marketplace add jeffallan/claude-skills /plugin install fullstack-dev-skills@fullstack-dev-skills Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Pick one route. The plugin route installs the whole fullstack-dev-skills plugin, which the README counts as 67 skills; its manifest also registers a commands folder and lists no hooks or MCP servers. The skills CLI route installs just php-pro. The frontmatter names fullstack-guardian and fastapi-expert as related skills; php-pro does not need them.
From the project README. Source.
What's in the skill
When it loads
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.
Sections in SKILL.md
- 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
Key facts
- License
- MIT
- Author
- jeffallan (repo owner)
- Installs on skills.sh
- 15,806 as of 2026-11-02
- Repo stars
- 12,161 as of 2026-11-02 (whole repo)
- Last repo commit
- 2026-10-30
- Files in the skill folder
- 6 files including SKILL.md
- skills.sh audits
- Gen Agent Trust Hub: pass; Socket: pass; Snyk: pass
What it includes
Five steps from analysis to verification
Analyze architecture, design models, implement, secure, verify.
Runs code ·
Core workflowRuns PHPStan level 9 and PHPUnit or Pest
Runs vendor/bin/phpstan analyse --level=9, then phpunit or pest with 80%+ coverage, and fixes errors before delivery.
Runs code ·
Verify stepEight rules
Strict types, type hints, PSR-12, PHPStan level 9, readonly properties, PHPDoc for complex logic, typed request validation and dependency injection.
MUST DO rulesSeven rules
No missing type declarations, plain-text passwords, injectable SQL, business logic in controllers, hardcoded config, deploys without tests, or var_dump in production.
MUST NOT DO rulesReadonly DTO, typed service, PHPUnit test, enum
Four code examples as the baseline structure.
Code patternsDelivery order for a feature
Domain models, services and repositories, controllers or endpoints, PHPUnit or Pest tests, then a short note on architecture decisions.
Output templatesTypes, enums, readonly, attributes
Loaded for readonly, enums, attributes, fibers and types.
references/modern-php-features.mdFramework patterns
Laravel services, repositories, resources, jobs and listeners. Symfony DI, attributes, DTOs and event subscribers.
references/laravel-patterns.md and symfony-patterns.mdSwoole and ReactPHP
Swoole HTTP server, coroutines, channels, and ReactPHP event loop and promises.
references/async-patterns.mdPHPUnit, Pest, PHPStan
Tests, data providers, Laravel feature tests, Pest and a phpstan.neon configuration.
references/testing-quality.md
From the official docs
Permissions
Low risk
The skill makes Claude run PHPStan and your test suite in your project. Use a test database and review the code before you commit.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It runs PHPStan and your tests
The verify step runs vendor/bin/phpstan and phpunit or pest in your project. Point tests at a test database, not production.
Technical details
| Scopes |
|
|---|
Questions
What does the php-pro skill do?
It makes Claude write PHP the way a strict senior developer would. That means typed models, PSR-12, dependency injection and a PHPStan and test check before delivery.
How do I install it?
Use the install box above and pick one route. The skills CLI route installs only php-pro. The plugin route installs the whole fullstack-dev-skills plugin, which the README counts as 67 skills.
Do I need PHPStan and PHPUnit installed?
Yes, in your project. The verify step names vendor/bin/phpstan and vendor/bin/phpunit or vendor/bin/pest, and says to deliver only when both pass clean.
Does it need an API key?
No. The SKILL.md names no key and bundles no scripts.
Is it safe?
It bundles no scripts: the folder is SKILL.md plus 5 reference files. It does tell Claude to run PHPStan and your test suite in your project. Our advice: point tests at a test database, and review the code Claude writes.
Which frameworks does it cover?
The description and references cover Laravel and Symfony, plus Swoole and ReactPHP for async. The knowledge list names Laravel 11 and Symfony 7.
Do I need its related skills?
The frontmatter lists fullstack-guardian and fastapi-expert as related skills. They are optional and live in the same repo.
Information
updated Nov 2, 2026
- Repository
- jeffallan/claude-skills
- Folder
skills/php-pro
Sources
Docs, issue trackers and discussions this page is built from.
Show all 5Hide
- php-pro SKILL.md · github.com
- jeffallan/claude-skills README · github.com
- QUICKSTART.md · github.com
- plugin.json · github.com
- references/testing-quality.md · github.com