bastienl / symfony2loc-bundle
Count lines of code you wrote in your Symfony2 project
Installs: 392
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- symfony/console: ~2.3
- symfony/framework-bundle: ~2.3
This package is not auto-updated.
Last update: 2025-07-05 20:13:00 UTC
README
Symfony2Loc is an extremely simple Symfony2 bundle that counts the number of lines of code you wrote in your Symfony2 project.
It goes through all the bundles in the src/ directory, and counts the number of lines in the .php
, .twig
, .js
and .css
files.
Installation
To install it, just add the following line to your composer.json file:
"bastienl/symfony2loc-bundle" : "dev-master"
And register it in app/AppKernel.php
:
<?php // app/AppKernel.php public function registerBundles() { return array( // ... new BastienL\Bundle\Symfony2LocBundle\Symfony2LocBundle(), ); }
Usage
To use it, just type (at the root of your Symfony2 project):
php app/console count:loc
About
You can find this project on packagist: https://packagist.org/packages/bastienl/symfony2loc-bundle