moai-lang-php

Provides PHP 8.3+ guidance with Laravel 11 and Symfony 7 examples.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/SayBGM/TubeExtract --skill moai-lang-php-saybgm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-lang-php
Source: https://github.com/SayBGM/TubeExtract/tree/main/.claude/skills/moai-lang-php
Command: npx skills add https://github.com/SayBGM/TubeExtract --skill moai-lang-php-saybgm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides expert guidance and code examples for developing robust PHP applications, focusing on modern best practices and popular frameworks like Laravel and Symfony.

Core Features & Use Cases

  • Modern PHP Development: Leverage PHP 8.3+ features like readonly classes, enums, and attributes.
  • Framework Expertise: Master Laravel 11 and Symfony 7 development, including ORMs, routing, and testing.
  • Use Case: You need to build a new REST API using Laravel 11. This Skill can provide you with complete, production-ready code examples for controllers, models, DTOs, and service layers, ensuring you follow best practices from the start.

Quick Start

Generate a Laravel 11 controller for managing user resources.

Frequently Asked Questions about moai-lang-php

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

FAQPage Schema
How do I build a REST API using Laravel 11 with best practices?

To build a REST API using Laravel 11, you need structured controllers, models, DTOs, and service layers. This Skill provides production-ready code examples and advanced patterns to ensure your API development follows modern PHP best practices from the start.

Does this PHP guidance cover Eloquent ORM and Doctrine ORM integration?

Yes, this PHP guidance covers advanced patterns for both Eloquent ORM and Doctrine ORM. It provides comprehensive expertise for integrating these object-relational mappers within Laravel 11 and Symfony 7 application architectures.

What's the best way to test PHP applications using PHPUnit and Pest?

The best way to test PHP applications is by using structured frameworks like PHPUnit and Pest. This Skill offers expert guidance on implementing robust testing suites and integrating them seamlessly into your modern PHP development workflow.

Can I use modern PHP 8.3 features like readonly classes and enums in Symfony 7?

Yes, you can leverage PHP 8.3+ features like readonly classes, enums, and attributes in Symfony 7. This Skill provides comprehensive code examples demonstrating how to implement these modern PHP constructs effectively within your applications.

How do I troubleshoot common issues in modern PHP frameworks?

To troubleshoot common issues in modern PHP frameworks, you need targeted debugging strategies for Laravel and Symfony. This Skill addresses frequent troubleshooting scenarios, providing expert solutions for resolving typical PHP application errors.

What is the recommended setup for CI/CD integration in PHP development?

The recommended setup for CI/CD integration in PHP development involves automating your testing and deployment pipelines. This Skill covers CI/CD integration practices to ensure robust continuous delivery for applications built with Laravel 11 and Symfony 7.