psr12-moodle

Community

Moodle-specific PSR-12 with frankenstyle prefixes.

Authorastoeffer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enforces Moodle-adapted PSR-12 coding standards, including lowercase_with_underscores, frankenstyle prefixes, and Moodle-specific formatting.

Core Features & Use Cases

  • Moodle Exceptions: Naming conventions adjusted for Moodle legacy code.
  • Frankenstyle Prefixes: Ensures all functions/classes include component prefixes.
  • Validation & Auto-Fixes: Guidance and automated fixes for common PSR-12 issues.

Quick Start

Run the Moodle PSR-12 checker (phpcs) and apply automatic fixes with phpcbf to align code with Moodle standards.

Dependency Matrix

Required Modules

None required

Components

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: psr12-moodle
Download link: https://github.com/astoeffer/plugin-marketplace/archive/main.zip#psr12-moodle

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository