Skip to main content
skill

php-pro · davila7 — Claude Code skill for PHP: features and setup

This skill guides PHP work involving generators, SPL structures, modern typing, and performance checks. Use it when building data-heavy code or reviewing PHP patterns.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill development/php-pro
Open on GitHub

What php-pro does

php-pro advises on generators and iterators, SPL structures such as SplQueue and SplHeap, and features introduced in PHP 8+. It favors PHP’s built-in functions where they fit, and covers strict typing and exception-based error handling. For large data sets, it points to generators as a way to process items without keeping the full set in memory.

The skill also covers profiling, stream contexts and filters, object-oriented patterns, and edge-case tests. Ask it to review a class for type coverage or to outline how to measure a bottleneck before changing the code. Its preference for PHP’s standard library means project-specific needs should guide whether an external package belongs in the solution.

For detailed implementation examples, the skill refers to resources/implementation-playbook.md. Keep requests within PHP development; the skill is scoped to that work.

What it helps with

  • process large data sets with generators
  • choose an SPL structure for a queue or stack
  • add strict types to PHP code
  • profile a bottleneck before optimizing
  • check error handling and edge cases

Example prompts for the agent

  • Rewrite this large-record processing code to use generators and avoid holding the whole data set in memory.
  • Review this PHP class for strict typing and PHP 8+ features that fit its design.
  • Show me how to measure the bottleneck in this PHP code before optimizing it.

How to install php-pro

1claude-code-templates

npx claude-code-templates@latest --skill development/php-pro

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill php-pro -a claude-code

3Manually: put the files in place

~/.claude/skills/php-pro/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/php-pro/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about php-pro

How do I install php-pro in Claude Code?

Run npx claude-code-templates@latest --skill development/php-pro.

What does php-pro do?

It guides PHP development with generators, iterators, SPL structures, and modern typing. It also covers profiling and error handling.

Does php-pro require a third-party package?

The skill advises starting with PHP built-ins and the standard library, using external dependencies only when needed.

Similar skills

All skills for Programming languages →

php-pro by other authors comes first.

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor