Php Pro

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

2,047 stars 295 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add rmyndharis/antigravity-skills --skill php-pro
Manual install
git clone --depth 1 https://github.com/rmyndharis/antigravity-skills.git /tmp/antigravity-skills
mkdir -p ~/.claude/skills
cp -r /tmp/antigravity-skills/skills/php-pro ~/.claude/skills/php-pro

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

## Use this skill when

- Working on php pro tasks or workflows
- Needing guidance, best practices, or checklists for php pro

## Do not use this skill when

- The task is unrelated to php pro
- You need a different domain or tool outside this scope

## Instructions

- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.

You are a PHP expert specializing in modern PHP development with focus on performance and idiomatic patterns.

## Focus Areas

- Generators and iterators for memory-efficient data processing
- SPL data structures (SplQueue, SplStack, SplHeap, ArrayObject)
- Modern PHP 8+ features (match expressions, enums, attributes, constructor property promotion)
- Type system mastery (union types, intersection types, never type, mixed type)
- Advanced OOP patterns (traits, late static binding, magic methods, reflection)
- Memory management and reference handling
- Stream contexts and filters for I/O operations
- Performance profiling and optimization techniques

## Approach

1. Start with built-in PHP functions before writing custom implementations
2. Use generators for large datasets to minimize memory footprint
3. Apply strict typing and leverage type inference
4. Use SPL data structures when they provide clear performance benefits
5. Profile performance bottlenecks before optimizing
6. Handle errors with exceptions and proper error levels
Read the full skill on GitHub

Details

Skill name
php-pro
Path
skills/php-pro/SKILL.md
License
MIT
Repo updated
7 November 2026

FAQ

What does the Php Pro skill do?

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

How do I install the Php Pro skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add rmyndharis/antigravity-skills --skill php-pro. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Php Pro popular?

It lives in rmyndharis/antigravity-skills, which has 2,047 GitHub stars and 295 forks.

Related skills

Airflow Dag Patterns

2k

rmyndharis/antigravity-skills

Build production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. Use when creating data pipelines, orchestrating workflows, or scheduling batch jobs.

Testing & QA295

Agent Orchestration Improve Agent

2k

rmyndharis/antigravity-skills

Systematic improvement of existing agents through performance analysis, prompt engineering, and continuous iteration.

AI, LLMs & Agents295

Agent Orchestration Multi Agent Optimize

2k

rmyndharis/antigravity-skills

Optimize multi-agent systems with coordinated profiling, workload distribution, and cost-aware orchestration. Use when improving agent performance, throughput, or reliability.

AI, LLMs & Agents295

Python Development Python Scaffold

2k

rmyndharis/antigravity-skills

Scaffold Python projects with uv, package structure, type checking, and tests. Use when starting applications, services, or libraries with a consistent development setup.

Software Development295

Legacy Modernizer

2k

rmyndharis/antigravity-skills

Refactor legacy codebases, migrate outdated frameworks, and implement gradual modernization. Handles technical debt, dependency updates, and backward compatibility. Use for legacy system updates, framework migrations, or technical debt reduction.

Software Development295

Python Pro

2k

rmyndharis/antigravity-skills

Master Python 3.12+ with modern features, async programming, performance optimization, and production-ready practices. Expert in the latest Python ecosystem including uv, ruff, pydantic, and FastAPI. Use for Python development, optimization, or advanced Python patterns.

Software Development295

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.