phploc

Quickly measure the size and analyzing the structure of a PHP project. More information: https://github.com/sebastianbergmann/phploc.

phploc path/to/directory

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

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

phploc path/to/directory --exclude path/to/exclude_directory

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

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

phploc path/to/directory --count-tests