PHPackages                             bastienl/symfony2loc-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. bastienl/symfony2loc-bundle

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

bastienl/symfony2loc-bundle
===========================

Count lines of code you wrote in your Symfony2 project

13921PHP

Since May 26Pushed 11y ago1 watchersCompare

[ Source](https://github.com/BastienL/Symfony2Loc)[ Packagist](https://packagist.org/packages/bastienl/symfony2loc-bundle)[ RSS](/packages/bastienl-symfony2loc-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Symfony2Loc
===========

[](#symfony2loc)

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
------------

[](#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`:

```
