/pmd-php

PHP adapter for PMD.

Primary LanguagePHPMIT LicenseMIT

A PHP adapter for PMD

A PHP adapter for the PMD debugger.

Requirements

A working PMD server.

Installation

You can install the package via composer:

composer require nkoporec/pmd-php

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: "host.docker.internal"
port: "6969"

Usage

pmd("Hello world!");

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.