CmdID

CmdID / Commands

phploc

Quickly measure the size and analyzing the structure of a PHP project. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Analyze a directory and print the result

phploc path/to/directoryIdentify

Include only specific files from a comma-separated list (globs are allowed)

phploc path/to/directory --names 'path/to/file1,path/to/file2,...'Identify

Exclude specific files from a comma-separated list (globs are allowed)

phploc path/to/directory --names-exclude 'path/to/file1,path/to/file2,...'Identify

Exclude a specific directory from analysis

phploc path/to/directory --exclude path/to/exclude_directoryIdentify

Log the results to a specific CSV file

phploc path/to/directory --log-csv path/to/fileIdentify

Log the results to a specific XML file

phploc path/to/directory --log-xml path/to/fileIdentify

Count PHPUnit test case classes and test methods

phploc path/to/directory --count-testsIdentify