PHPackages                             nkoporec/pmd-php - 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. nkoporec/pmd-php

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

nkoporec/pmd-php
================

A php adapter for pmd

0.5.2(9mo ago)046MITPHPPHP ^7.3|^8.0|^8.1|^8.2CI passing

Since Apr 28Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/nkoporec/pmd-php)[ Packagist](https://packagist.org/packages/nkoporec/pmd-php)[ Docs](https://github.com/nkoporec/pmd-php)[ GitHub Sponsors](https://github.com/nkoporec)[ RSS](/packages/nkoporec-pmd-php/feed)WikiDiscussions main Synced today

READMEChangelog (7)Dependencies (4)Versions (8)Used By (0)

A PHP adapter for [PMD](https://github.com/nkoporec/pmd)
========================================================

[](#a-php-adapter-for-pmd)

A PHP adapter for the PMD debugger.

Requirements
------------

[](#requirements)

A working [PMD](https://github.com/nkoporec/pmd) server.

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

[](#installation)

You can install the package via composer:

```
composer require nkoporec/pmd-php
```

Configuration
-------------

[](#configuration)

By default it will try to connect to 127.0.0.1:6969, if the PMD debugger is running on different port, then you can create a `pmd.yaml` file in the project root directory and it should look something like this (this is an example of how to set it up if you use docker containers)

```
url: "http://host.docker.internal:6969"
```

Usage
-----

[](#usage)

```
pmd("Hello world!");
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [nkoporec](https://github.com/nkoporec)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance61

Regular maintenance activity

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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 ~199 days

Recently: every ~253 days

Total

7

Last Release

278d ago

PHP version history (2 changes)0.1PHP ^7.3|^8.0

0.5.2PHP ^7.3|^8.0|^8.1|^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/58c86828eeb8ae8b9ab9ed439c8e04cb8a4bf46d9704a4a2926226749fb62dee?d=identicon)[nkoporec](/maintainers/nkoporec)

---

Top Contributors

[![nkoporec](https://avatars.githubusercontent.com/u/35064680?v=4)](https://github.com/nkoporec "nkoporec (51 commits)")

---

Tags

nkoporecpmd-php

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nkoporec-pmd-php/health.svg)

```
[![Health](https://phpackages.com/badges/nkoporec-pmd-php/health.svg)](https://phpackages.com/packages/nkoporec-pmd-php)
```

###  Alternatives

[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M157](/packages/orchestra-canvas)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)

PHPackages © 2026

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