moodle-standards
CommunityEnforce Moodle PHP standards with ease.
Authorastoeffer
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Enforces Moodle coding standards (PSR-12 with Moodle exceptions) to improve PHP code quality, readability, and collaboration.
Core Features & Use Cases
- PSR-12 with Moodle exceptions: Naming, prefixes, and structure tailored for Moodle.
- PHPDoc & Type Hints: Enforces documentation and explicit types.
- Validation & Quick Fixes: Provides guidance and automated fixes for common violations.
Quick Start
Run Moodle-specific checks on PHP files in a Moodle plugin to validate style and structure. Example: vendor/bin/phpcs --standard=moodle path/to/plugin/
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: moodle-standards Download link: https://github.com/astoeffer/plugin-marketplace/archive/main.zip#moodle-standards Please download this .zip file, extract it, and install it in the .claude/skills/ directory.