php-pro

Develop PHP 8.3+ applications with strict typing and PSR standards.

10|3|Updated Mar 14, 2025
One-click install
npx skills add https://github.com/Mentor-Wizard/mentor-wizard-webapp --skill php-pro-mentor-wizard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: php-pro
Source: https://github.com/Mentor-Wizard/mentor-wizard-webapp/tree/main/.claude/skills/php-pro
Command: npx skills add https://github.com/Mentor-Wizard/mentor-wizard-webapp --skill php-pro-mentor-wizard

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert-level assistance for building robust, modern, and high-performance PHP applications, ensuring adherence to best practices and advanced language features.

Core Features & Use Cases

  • Modern PHP Development: Leverage PHP 8.3+ features like strict typing, enums, readonly properties, attributes, and fibers.
  • Framework Expertise: Implement complex logic within Laravel and Symfony applications, following established patterns like services, repositories, and API resources.
  • Asynchronous Operations: Design and implement concurrent and non-blocking code using Swoole, ReactPHP, or native PHP Fibers.
  • Code Quality & Security: Ensure code quality through strict typing, PHPStan compliance, and adherence to PSR standards, while implementing robust security measures.
  • Use Case: Refactor a legacy PHP codebase to utilize modern type hinting, enums, and readonly properties, improving maintainability and reducing bugs.

Quick Start

Write a strict-typed PHP function that calculates the total price including tax using modern PHP features.

Frequently Asked Questions about php-pro

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

FAQPage Schema
How do I refactor legacy PHP code to use strict typing and readonly properties?

Yes, Laravel and Symfony development is fully supported, focusing on implementing complex logic using established patterns like services, repositories, and API resources. The Skill ensures your framework code adheres to modern PHP standards and secure enterprise architecture practices.

How do I implement asynchronous PHP operations using fibers?

You ensure PHP code quality and security by enforcing strict typing, achieving PHPStan compliance, and adhering to PSR standards. This combination guarantees robust enterprise application development while implementing secure, modern language features.

Does this support modern PHP 8.3 features like enums and attributes?

Yes, modern PHP 8.3+ features including enums, readonly properties, attributes, and strict typing are fully supported. The Skill leverages these features to build robust, high-performance applications that adhere to current best practices.

What is the best way to structure enterprise PHP applications?

The best way to structure enterprise PHP applications is by following established patterns like services and repositories while ensuring PSR standard adherence. This guarantees secure, robust development with strict typing and high code quality.