php-pro

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

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/shalevamin/The-_Ultimate_agents --skill php-pro-shalevamin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: php-pro
Source: https://github.com/shalevamin/The-_Ultimate_agents/tree/main/.claude/skills/php-pro
Command: npx skills add https://github.com/shalevamin/The-_Ultimate_agents --skill php-pro-shalevamin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the development of robust, high-performance PHP applications by enforcing modern best practices, strict typing, and comprehensive testing.

Core Features & Use Cases

  • Strict Typing & PSR Compliance: Ensures code quality and maintainability.
  • Automated Analysis & Testing: Integrates PHPStan and PHPUnit for error-free, reliable code.
  • Framework Support: Optimized for Laravel and Symfony, covering controllers, migrations, APIs, and more.
  • Use Case: Develop a new REST API endpoint in a Laravel application, complete with typed DTOs, a service layer, Eloquent models, and unit/integration tests, all adhering to strict type declarations and PSR standards.

Quick Start

Use the php-pro skill to generate a new controller for handling user registration in a Laravel application.

Frequently Asked Questions about php-pro

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

FAQPage Schema
How do I develop a Laravel API endpoint with strict types and PSR standards?

Developing a Laravel API endpoint with strict types involves creating typed DTOs, a service layer, and Eloquent models. This enforces PSR standards and PHP 8.3+ strict typing throughout the application architecture.

What is the best way to ensure PHP code quality with PHPStan and PHPUnit?

The best way to ensure PHP code quality is running PHPStan level 9 analysis and PHPUnit testing. This combination validates strict typing and PSR compliance before delivery, guaranteeing reliable and error-free code.

Can I use strict typing and DTOs in Symfony application development?

Yes, you can use strict typing and DTOs in Symfony application development. The approach supports building controllers, services, and APIs while adhering to modern PHP 8.3+ features and enterprise architecture patterns.

How does strict typing improve PHP application development?

Strict typing improves PHP application development by enforcing explicit type declarations across controllers, services, and DTOs. This reduces runtime errors and ensures code maintainability within enterprise architecture patterns.

Do I need PHP 8.3 to build applications with PSR compliance and enterprise architecture?

Yes, you need PHP 8.3+ to build applications utilizing modern features, strict typing, and PSR compliance. This version requirement ensures compatibility with enterprise architecture patterns and PHPStan level 9 analysis.

Why should I use DTOs and a service layer when creating PHP controllers?

You should use DTOs and a service layer when creating PHP controllers to separate business logic from presentation. This architectural pattern ensures strict type enforcement, PSR compliance, and easier unit testing with PHPUnit.