https://github.com/sebastianbergmann/lines-of-code
Library for counting the lines of code in PHP source code
https://github.com/sebastianbergmann/lines-of-code
lines-of-code software-metrics
Last synced: 2 months ago
JSON representation
Library for counting the lines of code in PHP source code
- Host: GitHub
- URL: https://github.com/sebastianbergmann/lines-of-code
- Owner: sebastianbergmann
- License: bsd-3-clause
- Created: 2020-07-11T07:51:36.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-13T07:27:05.000Z (3 months ago)
- Last Synced: 2025-05-03T07:14:04.212Z (2 months ago)
- Topics: lines-of-code, software-metrics
- Language: PHP
- Homepage:
- Size: 73.9 MB
- Stars: 1,126
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
[](https://packagist.org/packages/sebastian/lines-of-code)
[](https://github.com/sebastianbergmann/lines-of-code/actions)
[](https://codecov.io/gh/sebastianbergmann/lines-of-code)# 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](https://getcomposer.org/):
```
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
```