PHPackages                             blackboard-open-source/moodle-coding-standard - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. blackboard-open-source/moodle-coding-standard

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

blackboard-open-source/moodle-coding-standard
=============================================

Moodle CodeSniffer Standards

2.0.3(9y ago)240.7k↓50%9GPL-3.0PHPPHP &gt;=5.4.0

Since Sep 8Pushed 7y ago6 watchersCompare

[ Source](https://github.com/blackboard-open-source/moodle-coding-standard)[ Packagist](https://packagist.org/packages/blackboard-open-source/moodle-coding-standard)[ RSS](/packages/blackboard-open-source-moodle-coding-standard/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

Introduction
============

[](#introduction)

This project is simply a way to package up and distribute the Moodle Coding Standard which is defined in the following project: [moodle-local\_codechecker](https://github.com/moodlehq/moodle-local_codechecker)

This project does not attempt to do anything else. If there are problems with the standard, then the problems should be addressed in the `moodle-local_codechecker` project. Once the problem is fixed, it can be synced from `moodle-local_codechecker` into this project.

[![Latest Stable Version](https://camo.githubusercontent.com/8c0ab6ead60ba695362535ac1e749519541dd1193acbbc5a15165cbbee440b79/68747470733a2f2f706f7365722e707567782e6f72672f626c61636b626f6172642d6f70656e2d736f757263652f6d6f6f646c652d636f64696e672d7374616e646172642f762f737461626c65)](https://packagist.org/packages/blackboard-open-source/moodle-coding-standard)[![Total Downloads](https://camo.githubusercontent.com/5b4800c8988c1dc650cf563ade4b2ad6514a3abaed3667a8beed53a22c3c5a4c/68747470733a2f2f706f7365722e707567782e6f72672f626c61636b626f6172642d6f70656e2d736f757263652f6d6f6f646c652d636f64696e672d7374616e646172642f646f776e6c6f616473)](https://packagist.org/packages/blackboard-open-source/moodle-coding-standard)[![License](https://camo.githubusercontent.com/3c65eb2c232bb2b92460176af430bac3a5fd95a65f018bee7a3ae94e9372489e/68747470733a2f2f706f7365722e707567782e6f72672f626c61636b626f6172642d6f70656e2d736f757263652f6d6f6f646c652d636f64696e672d7374616e646172642f6c6963656e7365)](https://packagist.org/packages/blackboard-open-source/moodle-coding-standard)

Install
=======

[](#install)

Just add it to your project's `composer.json` file (`--dev` is optional based on your needs):

```
composer require --dev blackboard-open-source/moodle-coding-standard

```

Usage
=====

[](#usage)

The following paths may change based on how things are installed, but basically you are looking for the path to the CodeSniffer command and the path to the `moodle` directory of this project:

```
vendor/bin/phpcs --standard=vendor/blackboard-open-source/moodle-coding-standard/moodle /path/to/moodle/plugin

```

Credits
=======

[](#credits)

All praise should go to the contributors of [moodle-local\_codechecker](https://github.com/moodlehq/moodle-local_codechecker).

License
=======

[](#license)

This project is licensed under the GNU GPL v3 or later. See the [LICENSE](LICENSE) file for details.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~98 days

Total

5

Last Release

3511d ago

Major Versions

1.0.0 → 2.0.02016-02-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ad73f7bd03178513977497215e3755b5b9f14977fb1537379e2a9a1d8a3de5a?d=identicon)[blackboard-open-source](/maintainers/blackboard-open-source)

---

Top Contributors

[![polothy](https://avatars.githubusercontent.com/u/634657?v=4)](https://github.com/polothy "polothy (17 commits)")

---

Tags

moodlecodesniffer

### Embed Badge

![Health badge](/badges/blackboard-open-source-moodle-coding-standard/health.svg)

```
[![Health](https://phpackages.com/badges/blackboard-open-source-moodle-coding-standard/health.svg)](https://phpackages.com/packages/blackboard-open-source-moodle-coding-standard)
```

###  Alternatives

[mediawiki/mediawiki-codesniffer

MediaWiki CodeSniffer Standards

332.9M317](/packages/mediawiki-mediawiki-codesniffer)[moodlehq/moodle-cs

Moodle Coding Sniffer rules

242.8M5](/packages/moodlehq-moodle-cs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
