Skip to content
/ lines Public
forked from TomasVotruba/lines

CLI tool for quick size measure of PHP project, runs anywhere

Notifications You must be signed in to change notification settings

staabm/lines

 
 

Repository files navigation

Lines

CLI tool for quick size measure of PHP project, runs anywhere

What are killer features?

  • install anywhere - PHP 7.2? PHPUnit 6? Symfony 3? Not a problem, this package has zero dependencies and works on PHP 7.2+
  • get quick overview of your project size - no details, no complexity, just lines of code
  • get easy JSON output for further processing
  • we keep it simple, so you can enjoy reading - for more complex operation use static analysis like PHPStan

Install

The package is scoped and downgraded to PHP 7.2. So you can install it anywhere with any set of dependencies:

composer require tomasvotruba/lines --dev

Usage

vendor/bin/lines measure src

For json output, just add --json:

vendor/bin/lines measure src --json

About

CLI tool for quick size measure of PHP project, runs anywhere

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 95.5%
  • Shell 4.5%