php

Automate PHP 8.3+ development with strict types, PSR-12, and PHPStan tests.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/Nomadiction8991/skills-agents-mcps --skill php-nomadiction8991
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: php
Source: https://github.com/Nomadiction8991/skills-agents-mcps/tree/main/skills/php
Command: npx skills add https://github.com/Nomadiction8991/skills-agents-mcps --skill php-nomadiction8991

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates high-quality PHP development by enforcing strict types, modern frameworks, and robust testing, reducing manual boilerplate.

Core Features & Use Cases

  • Enforces strict typing and PSR-12 coding standards across PHP projects.
  • Supports Laravel, Symfony, and Yii for rapid scaffolding and implementation.
  • Integrates with PHPStan and PHPUnit/Pest for static analysis and tests.

Quick Start

Create a minimal PHP 8.3+ module with strict types, using Laravel, Symfony or Yii patterns, and include PHPStan analysis and unit tests.

Frequently Asked Questions about php

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

FAQPage Schema
How do I enforce strict types and PSR-12 coding standards in a PHP 8.3 project?

Enforcing strict types and PSR-12 in PHP 8.3 involves applying static analysis tools like PHPStan alongside automated testing. This ensures typed DTOs, dependency injection, and validated inputs conform to modern robust coding standards before delivery.

What's the best way to automate scaffolding for Laravel and Symfony with PHPStan and PHPUnit?

The best way to automate Laravel and Symfony scaffolding is by integrating PHPStan for static analysis and PHPUnit or Pest for testing. This enforces strict typing, validates typed requests, and ensures high-quality PHP development with minimal manual boilerplate.

Does this PHP automation approach support the Yii framework alongside Laravel and Symfony?

Yes, this PHP automation approach supports the Yii framework alongside Laravel and Symfony. It enforces strict typing, dependency injection, and PSR-12 conformance across all three frameworks for rapid scaffolding and robust implementation in PHP 8.3+ projects.

How do I use typed requests and DTOs to validate inputs in modern PHP development?

To validate inputs in modern PHP development, implement typed requests and typed DTOs within your architecture. This ensures inputs are processed safely, reducing manual boilerplate while maintaining strict type compliance and dependency injection standards.

Why should I use PHPStan and Pest or PHPUnit before delivering PHP code?

Using PHPStan and Pest or PHPUnit before delivering PHP code ensures robust, safe code by catching type errors and logic flaws early. Running static analysis and tests validates architecture decisions, typed entities, and PSR-12 conformance automatically.

Can I use static analysis to reduce manual boilerplate in PHP 8.3 projects?

Yes, you can use static analysis with PHPStan to reduce manual boilerplate in PHP 8.3 projects. Automating high-quality PHP development with strict types, modern frameworks, and testing eliminates repetitive validation tasks while ensuring safe code.