Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 801 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 801 Bytes

Build Status Coverage Status

MD

MD is a PHP linter built on top of PhpParser. It provides the convenience of a static analysis CLI tool like PHPMD while borrowing ideas from cloud-based solutions such as Sensio Insight and Scrutinizer.

Installation

composer require stefk/md

An md executable will be available in composer's bin directory.

Usage

Analyse all PHP files within the current directory (recursive):

md

Analyse specific files/directories:

md file.php
md dir
md dir1 dir2 file1.php