moai-lang-php

Enforce PHP 8.4+ best practices with PHPUnit 11 and PSR-12 standards.

Updated Nov 24, 2025
One-click install
npx skills add https://github.com/jg-chalk-io/Nora-LiveKit --skill moai-lang-php-jg-chalk-io
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: moai-lang-php
Source: https://github.com/jg-chalk-io/Nora-LiveKit/tree/main/.claude/skills/moai-lang-php
Command: npx skills add https://github.com/jg-chalk-io/Nora-LiveKit --skill moai-lang-php-jg-chalk-io

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill codifies modern PHP practices, PHPUnit testing, Composer workflows, and popular web frameworks patterns.

Core Features & Use Cases

  • Language & testing: PHP 8.4+ with PHPUnit 11.
  • Framework patterns: Laravel/Symfony style patterns guidance.
  • Tooling: Composer-based dependency management.

Quick Start

Scaffold a PHP project with Composer, a basic PHPUnit test, and a Laravel-like route example.

Frequently Asked Questions about moai-lang-php

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

FAQPage Schema
How do I enforce PHP 8.4+ best practices in my Laravel or Symfony project?▼

This Skill automatically enforces PHP 8.4+ best practices across Laravel and Symfony projects. It applies PSR-12 standards, integrates PHPUnit 11 for testing, and performs code reviews through moai-foundation integrations to ensure compliance with modern toolchain requirements and quality gates.

Can I use PHPUnit 11 with my Composer workflow for test-driven development?▼

Yes. This Skill enforces PHPUnit 11 within Composer-based dependency management and supports test-driven development workflows. It produces test execution plans and validates TDD implementations against PHP 8.4+ standards and TRUST 5 compliance requirements.

What's the best way to migrate my PHP project to PHP 8.4 and PHPUnit 11?▼

This Skill provides migration guidance for upgrading to PHP 8.4 and PHPUnit 11 while maintaining Composer 2.8+ compatibility. It generates execution plans, applies PSR-12 linting, and validates Laravel 12 or Symfony 7.3 patterns to ensure safe, standards-compliant transitions.

Does this work with both Laravel and Symfony frameworks?▼

Yes. This Skill applies framework patterns and best practices guidance for both Laravel and Symfony, enforcing consistent PSR-12 standards, PHPUnit 11 testing patterns, and Composer workflows across either framework within PHP 8.4+ environments.

How do I set up automated code reviews and quality gates for my PHP project?▼

This Skill automates code reviews and establishes quality gates through moai-foundation integrations. It validates PHP 8.4+ best practices, PSR-12 compliance, PHPUnit 11 test coverage, and TRUST 5 requirements, producing lint and test execution plans for continuous validation.

What are the minimum tool versions required to use this Skill?▼

This Skill requires PHP 8.4, PHPUnit 11, Composer 2.8, and either Laravel 12 or Symfony 7.3. These up-to-date toolchain versions ensure full support for modern language features, testing patterns, and framework-specific best practices enforced by the Skill.