CountLinesCodeBundle does the following:
It goes through specified directories and counts the number of lines specified in the extensions files.
CountLinesCodeBundle was forked from https://github.com/BastienL/Symfony2Loc.
CountLinesCodeBundle dedicated web page.
CountLinesCodeBundle API documentation.
## Bundle installation
### Step 1: Download the Bundle
We strongly recommend to use this only on the dev part
Use Composer 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 :)
How can I help you explore Laravel packages today?