Back to catalog
Human reviewedDevelopment

Skill dossier

php-pro

Source declaration

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.

The author's original description, preserved in English. It describes intent, not verified performance.

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.

developmentreferences

Research summary

Human reviewed

Skill Atlas editorial review · editorial-preview-1.0.0

A modern PHP 8.3+ Skill that enforces strict typing, PSR-12, DI and tests, gating delivery on PHPStan level 9 and a PHPUnit or Pest run.

Review scope

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings await human editorial review; no dynamic behavior or effect is assessed.

Observable capabilities

  • Writes typed DTOs, value objects, enums and services with constructor DI.
  • Declares strict types and follows PSR-12.
  • Adds validation, password hashing and SQL-injection protection.
  • Runs PHPStan level 9 and PHPUnit or Pest, requiring 80 percent coverage.

Limitations & scope

  • Examples lean on Laravel classes such as Hash and Eloquent models.
  • Symfony, async and testing detail are in separate reference files.
  • PHPStan and test results are not verified here.

Relevant for

  • PHP developers on Laravel or Symfony
  • Teams adopting static analysis
  • Developers modernizing to PHP 8.3

What ships with the skill

The file inventory comes from the collected source at the recorded commit. Paths and sizes are structural observations, not a measure of quality.

files
6
Markdown files
6
scripts
0
references
5
Size
52.2 KB
Structural complexity
Low

File inventory

PathTypeBytes
skills/php-pro/references/async-patterns.mdReference8.8 KB
skills/php-pro/references/laravel-patterns.mdReference8.7 KB
skills/php-pro/references/modern-php-features.mdReference6.3 KB
skills/php-pro/references/symfony-patterns.mdReference11.1 KB
skills/php-pro/references/testing-quality.mdReference11.2 KB
skills/php-pro/SKILL.mdInstruction6.1 KB

SKILL.md frontmatter

{
  "name": "php-pro",
  "description": "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.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "language",
    "triggers": "PHP, Laravel, Symfony, Composer, PHPStan, PSR, PHP API, Eloquent, Doctrine",
    "role": "specialist",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "fullstack-guardian, fastapi-expert"
  }
}

A reading of the operating sequence

This workflow reconstructs the apparent sequence from source material. Unless controlled evaluation is explicitly recorded, it is provisional—not an observed trace.

  1. 01
    Input

    Analyze architecture

    Review framework, PHP version, dependencies and patterns.

  2. 02
    Action

    Implement strictly typed code

    Write PSR-compliant code with DI and repositories, then add validation and security.

  3. 03
    Decision

    Gate on static analysis and tests

    Fix all PHPStan level 9 errors and pass tests before delivering.

  4. 04
    Output

    Deliver in order

    Provide models, services, endpoints, tests and an architecture explanation.

Potential risk surfaces

Static findings identify points to inspect before installation. They do not establish that a skill is safe, malicious, or effective.

Attention recommended

344 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Network accessObserved
File writesObserved
Credential useObserved
Note

File modification is described or implemented

323 occurrences

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 323 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Medium

Network access is mentioned

12 occurrences

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 12 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

High

Credential or secret material is referenced

9 occurrences

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 9 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Editorial security note

Review password handling, SQL queries and input validation in generated code before merging.

Where context can be spent

Discovery, activation, and resource layers have different meanings. Exact values appear only when the official token-counting method was run with a named model.

Exact token counts unavailable

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

No token measurement was recorded with the required official method. This dossier does not substitute character counts, file sizes, or estimates.

Controlled evaluation

No controlled evaluation

This skill has only the evidence identified above. No task success, token efficiency, latency, or quality advantage is claimed.

Not tested

Use with the source in view

Install command
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/php-pro # .claude/skills/php-pro
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/php-pro/SKILL.md.
  2. Review the license, prerequisites and all bundled reference files.
  3. Copy the skill directory into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Verify installation

Ask Claude Code to add a user creation service and confirm it uses a readonly DTO, hashes passwords and proposes PHPStan and test runs.

Prerequisites

  • Examples lean on Laravel classes such as Hash and Eloquent models.
  • Symfony, async and testing detail are in separate reference files.
  • PHPStan and test results are not verified here.

Example prompts

Representative task

Using the php-pro skill, add a CreateUserDTO and UserService with repository injection, a UserStatus enum, and PHPUnit tests, then run PHPStan level 9 and fix every error.

Inspect before use

Read the php-pro skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/php-pro/SKILL.md and its reference files. Explain its workflow, any commands it tells the agent to run, and the main risks before I decide whether to install it.

A decision, with its limits attached

Strengths

  • Hard delivery gate on static analysis and tests.
  • Concrete templates for DTO, service, test and enum.

Considerations

  • PHPStan level 9 can be disruptive in legacy codebases.
  • Overlaps with the laravel-specialist skill for Laravel projects.
Research conclusion

A strict, quality-gated baseline for new or modernized PHP code.

Traceable by construction

The dossier is a time-bound reading of a public artifact, not an endorsement. Use the source link to inspect the exact upstream material.

Jeffallanclaude-skillsskills/php-pro
Source type
Community
Commit
67c1961b180dc92cf08983344627109e983e8f51
Collected
20 Nov 2026
Last checked
20 Nov 2026
Upstream license
MIT
Repository stars
12,464
Content basis

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, dynamic testing, or human editorial approval.