sebastian/lines-of-code

Library for counting the lines of code in PHP source code

Maintainers

Package info

github.com/sebastianbergmann/lines-of-code

pkg:composer/sebastian/lines-of-code

Statistics

Installs: 520 587 605

Dependents: 10

Suggesters: 0

Stars: 1 169

Open Issues: 2

5.0.0 2026-02-06 04:45 UTC

This package is auto-updated.

Last update: 2026-03-06 04:57:42 UTC


README

Latest Stable Version CI Status codecov

sebastian/lines-of-code

Library for counting the lines of code in PHP source code.

Installation

You can add this library as a local, per-project dependency to your project using Composer:

composer require sebastian/lines-of-code

If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:

composer require --dev sebastian/lines-of-code