PHPackages                             smile/magento2-smilelab-phpmd - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. smile/magento2-smilelab-phpmd

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

smile/magento2-smilelab-phpmd
=============================

PHPMD ruleset for Magento projects.

2.0.2(1y ago)480.8k↓45.3%1OSL-3.0PHPPHP ^7.4 || ^8.0CI failing

Since Jan 25Pushed 1y ago6 watchersCompare

[ Source](https://github.com/Smile-SA/magento2-smilelab-phpmd)[ Packagist](https://packagist.org/packages/smile/magento2-smilelab-phpmd)[ RSS](/packages/smile-magento2-smilelab-phpmd/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (7)Dependencies (5)Versions (8)Used By (1)

Smile Lab PHPMD Ruleset
=======================

[](#smile-lab-phpmd-ruleset)

Description
-----------

[](#description)

This ruleset is meant to be used on Magento projects and modules.

Custom rules are copied from .

Installation
------------

[](#installation)

To use this ruleset, require it in composer:

```
composer require --dev smile/magento2-smilelab-phpmd
```

Usage
-----

[](#usage)

You can run phpmd with this command:

```
php vendor/bin/phpmd [src folder] text vendor/smile/magento2-smilelab-phpmd/ruleset.xml
```

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance43

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 58.3% 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 ~499 days

Recently: every ~519 days

Total

7

Last Release

452d ago

Major Versions

1.1.1 → 2.0.02022-09-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c4859b63b960878ef37185d533dbd629247859679dfcdf465259d6a4a488ee7?d=identicon)[romainruaud](/maintainers/romainruaud)

![](https://avatars.githubusercontent.com/u/2353374?v=4)[Richard Bayet](/maintainers/rbayet)[@rbayet](https://github.com/rbayet)

![](https://avatars.githubusercontent.com/u/3967259?v=4)[guvra](/maintainers/guvra)[@guvra](https://github.com/guvra)

![](https://avatars.githubusercontent.com/u/4659198?v=4)[PierreGauthier](/maintainers/PierreGauthier)[@PierreGauthier](https://github.com/PierreGauthier)

---

Top Contributors

[![guvra](https://avatars.githubusercontent.com/u/3967259?v=4)](https://github.com/guvra "guvra (14 commits)")[![PierreGauthier](https://avatars.githubusercontent.com/u/4659198?v=4)](https://github.com/PierreGauthier "PierreGauthier (5 commits)")[![romainruaud](https://avatars.githubusercontent.com/u/15340849?v=4)](https://github.com/romainruaud "romainruaud (5 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/smile-magento2-smilelab-phpmd/health.svg)

```
[![Health](https://phpackages.com/badges/smile-magento2-smilelab-phpmd/health.svg)](https://phpackages.com/packages/smile-magento2-smilelab-phpmd)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

19131.4k](/packages/imi-magento2-friendly-captcha)[buckaroo/magento2

Buckaroo Magento 2 extension

32420.3k8](/packages/buckaroo-magento2)[vipps/module-payment

Vipps MobilePay Payment Module for Magento 2

1098.4k](/packages/vipps-module-payment)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)

PHPackages © 2026

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