A command-line tool for quickly measuring the size and complexity of PHP projects.
PHPLOC is a command-line tool that analyzes PHP projects to measure their size, complexity, and structure. It provides statistics like lines of code, comment density, cyclomatic complexity, and class/method counts, helping developers assess codebase health and maintainability.
PHP developers, team leads, and architects who need to evaluate project scale, track technical debt, or enforce code quality standards in PHP applications.
PHPLOC offers a fast, dependency-light way to gather essential code metrics without complex setup. Its focus on core size and complexity metrics makes it a straightforward alternative to heavier static analysis tools.
A tool for quickly measuring the size of a PHP project.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Runs quickly with minimal dependencies via PHAR or Phive, as highlighted in the README for fast analysis.
Presents metrics in a structured, readable format ideal for reports or CI pipelines, shown in the usage example.
Easy setup through PHAR downloads or Phive, avoiding complex configuration, as recommended in the installation section.
Provides essential size and complexity data like LOC and cyclomatic complexity without bloat, aligning with its philosophy.
The README explicitly states it's no longer maintained, risking compatibility issues and lack of support for newer PHP versions.
Only covers basic metrics like size and complexity, missing advanced features such as security scanning or code style checks.
Lacks GUI or interactive features, making it less suitable for teams preferring visual dashboards or real-time insights.