php-pro

Implement modern PHP applications with strict typing and PSR-compliant architecture.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/Estom/aiflex --skill php-pro-estom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: php-pro
Source: https://github.com/Estom/aiflex/tree/main/skills-repo/Jeffallan-skills/php-pro
Command: npx skills add https://github.com/Estom/aiflex --skill php-pro-estom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Helps teams and developers produce robust, maintainable PHP applications that leverage modern language features, strong typing, and framework best practices to reduce runtime bugs and design drift.

Core Features & Use Cases

  • Expert guidance for PHP 8.3+ idiomatic code, readonly properties, enums, fibers, and never types.
  • Framework patterns and implementations for Laravel and Symfony including services, repositories, controllers, DTOs, and event-driven design.
  • Async and high-performance architectures using Swoole, ReactPHP, and Amphp for API servers and background workers.
  • Quality and safety workflows: PSR-12/PSR coding standards, PHPStan level 9 static analysis, PHPUnit/Pest tests, and secure input validation.
  • Use Case: Migrate a legacy Laravel REST API to strict-typed domain models, add async job processing with Swoole, and enforce PHPStan level 9 before CI deployments.

Quick Start

Implement a typed Laravel API endpoint with PHP 8.3 features, run PHPStan at level 9, and include PHPUnit tests covering the new behavior.

Frequently Asked Questions about php-pro

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce PHP 8.3 strict typing and PHPStan level 9 in a Laravel application?

To enforce PHP 8.3 strict typing and PHPStan level 9 in a Laravel application, implement readonly properties, enums, and DTOs while following dependency injection patterns and PSR-12 coding standards to reduce runtime bugs.

What is the best way to build high-performance async PHP APIs with Swoole?

The best way to build high-performance async PHP APIs with Swoole is to implement async and high-performance architectures using Swoole, ReactPHP, or Amphp for API servers and background workers.

Does this approach support migrating legacy Symfony controllers to modern strict-typed domain models?

Yes, this approach supports migrating legacy Symfony controllers to modern strict-typed domain models by applying framework best practices, PSR-compliant architecture, and PHP 8.3 features like readonly properties and never types.

How do I add PHPUnit and Pest tests for PHP 8.3 enum behavior?

To add PHPUnit and Pest tests for PHP 8.3 enum behavior, implement comprehensive PHPUnit testing workflows that validate strict-typed domain models and secure input validation before CI deployments.

Can I use Swoole and ReactPHP for background job processing in modern PHP applications?

Yes, you can use Swoole and ReactPHP for background job processing in modern PHP applications to build high-performance async services and background workers that satisfy strict typing conventions and PSR coding standards.