phploc

phploc

TLDR

Analyse a directory and print the result

>_ phploc [path/to/directory]
copy

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

>_ phploc [path/to/directory] --names [files]
copy

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

>_ phploc [path/to/directory] --names-exclude [files]
copy

Exclude a specific directory from analysis

>_ phploc [path/to/directory] --exclude [path/to/exclude_directory]
copy

Log the results to a specific CSV file

>_ phploc [path/to/directory] --log-csv [path/to/file]
copy

Log the results to a specific XML file

>_ phploc [path/to/directory] --log-xml [path/to/file]
copy

Count PHPUnit test case classes and test methods

>_ phploc [path/to/directory] --count-tests
copy

Copied to clipboard
free 100$ digital ocean credit