PHPackages                             c975l/countlinescode-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. c975l/countlinescode-bundle

AbandonedArchivedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

c975l/countlinescode-bundle
===========================

This bundle counts the lines of code written in a Symfony project

v1.6.3(4y ago)2227MITPHPPHP ^7

Since Mar 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/975L/CountLinesCodeBundle)[ Packagist](https://packagist.org/packages/c975l/countlinescode-bundle)[ Docs](https://github.com/975L/CountLinesCodeBundle)[ Fund](https://buymeacoff.ee/laurentmarquet)[ Fund](https://opencollective.com/laurent-marquet)[ RSS](/packages/c975l-countlinescode-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (4)Versions (27)Used By (0)

CountLinesCodeBundle
====================

[](#countlinescodebundle)

CountLinesCodeBundle does the following:

- counts the number of lines of code written in Symfony project.

It goes through specified directories and counts the number of lines specified in the extensions files.

CountLinesCodeBundle was forked from .

[CountLinesCodeBundle dedicated web page](https://975l.com/en/pages/count-lines-code-bundle).

[CountLinesCodeBundle API documentation](https://975l.com/apidoc/c975L/CountLinesCodeBundle.html).

\## Bundle installation

\### Step 1: Download the Bundle

We strongly recommend to **use this only on the dev part**

Use [Composer](https://getcomposer.org) to install the library

```
    composer require-dev c975l/countlinescode-bundle
```

\### Step 2: Define folders and extensions to look for

Then, in the `/config/packages/dev/count_lines_codes.yaml` file of your project, define the following:

```
c975LCountLinesCode:
    #List of folders you want to look for
    folders: ['src', 'templates', 'tests', 'public/css', 'public/js']
    #List of extensions you want to look for
    extensions: ['css', 'js', 'php', 'sh', 'sql', 'twig']
```

\### How to use

To use it, just type (at the root of your Symfony2 project):

```
$ php bin/console count:loc
```

\### TODO Improve counting command

If this project **help you to reduce time to develop**, you can sponsor me via the "Sponsor" button at the top :)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~69 days

Recently: every ~200 days

Total

25

Last Release

1721d ago

PHP version history (2 changes)v1.0.1PHP &gt;=5.5.9

v1.4.3PHP ^7

### Community

Maintainers

![](https://www.gravatar.com/avatar/5679e828a48e37afabd92da60ab8d78bf65a3bedc0f618ef3fddf92082840f52?d=identicon)[Laurent3170](/maintainers/Laurent3170)

---

Top Contributors

[![LaurentMarquet](https://avatars.githubusercontent.com/u/16478286?v=4)](https://github.com/LaurentMarquet "LaurentMarquet (29 commits)")

---

Tags

countsymfonysymfony-bundlesymfonybundlecodecount

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/c975l-countlinescode-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/c975l-countlinescode-bundle/health.svg)](https://phpackages.com/packages/c975l-countlinescode-bundle)
```

###  Alternatives

[norberttech/aceeditor-bundle

Bundle that integrate excellent JavaScript ace editor into Symfony Form.

29315.5k](/packages/norberttech-aceeditor-bundle)[ekreative/uuid-extra-bundle

Paramconverter, Normalizer and Form Type for Ramsey Uuid

18170.3k](/packages/ekreative-uuid-extra-bundle)[gwk/dynamo-session-bundle

DynamoDB Session Handler Bundle for Symfony 2

13210.9k](/packages/gwk-dynamo-session-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
