Back to list
AJBcoding

moai-lang-php

by AJBcoding

2🍴 0📅 Jan 18, 2026

SKILL.md


name: "moai-lang-php" version: "2.1.0" created: 2025-10-22 updated: 2025-11-02 status: stable description: PHP 8.4+ best practices with PHPUnit 11, Composer, PSR-12 standards, and web frameworks (Laravel, Symfony). keywords: ['php', 'phpunit', 'composer', 'psr', 'laravel', 'symfony'] allowed-tools:

  • Read
  • Bash

Lang Php Skill

Skill Metadata

FieldValue
Skill Namemoai-lang-php
Version2.1.0 (2025-11-02)
Allowed toolsRead (read_file), Bash (terminal)
Auto-loadOn demand when keywords detected
TierLanguage

What It Does

PHP 8.4+ best practices with PHPUnit 11, Composer, PSR-12 standards, and web frameworks (Laravel, Symfony).

Key capabilities:

  • ✅ Best practices enforcement for language domain
  • ✅ TRUST 5 principles integration
  • ✅ Latest tool versions (2025-11-02)
  • ✅ TDD workflow support
  • ✅ Web framework patterns (Laravel, Symfony)

When to Use

Automatic triggers:

  • Related code discussions and file patterns
  • SPEC implementation (/alfred:2-run)
  • Code review requests

Manual invocation:

  • Review code for TRUST 5 compliance
  • Design new features
  • Troubleshoot issues

Tool Version Matrix (2025-11-02)

ToolVersionPurposeStatus
PHP8.4.0Runtime✅ Current
PHPUnit11.5.0Testing✅ Current
Composer2.8.0Package manager✅ Current
Laravel12.0.0Web framework✅ Current
Symfony7.3.5Web framework✅ Current

Inputs

  • Language-specific source directories
  • Configuration files
  • Test suites and sample data

Outputs

  • Test/lint execution plan
  • TRUST 5 review checkpoints
  • Migration guidance

Failure Modes

  • When required tools are not installed
  • When dependencies are missing
  • When test coverage falls below 85%

Dependencies

  • Access to project files via Read/Bash tools
  • Integration with moai-foundation-langs for language detection
  • Integration with moai-foundation-trust for quality gates

References (Latest Documentation)

Documentation links updated 2025-10-22


Changelog

  • v2.0.0 (2025-10-22): Major update with latest tool versions, comprehensive best practices, TRUST 5 integration
  • v1.0.0 (2025-03-29): Initial Skill release

Works Well With

  • moai-foundation-trust (quality gates)
  • moai-alfred-code-reviewer (code review)
  • moai-essentials-debug (debugging support)

Best Practices

DO:

  • Follow language best practices
  • Use latest stable tool versions
  • Maintain test coverage ≥85%
  • Document all public APIs

DON'T:

  • Skip quality gates
  • Use deprecated tools
  • Ignore security warnings
  • Mix testing frameworks

Score

Total Score

40/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon