Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Countlinescode Bundle Laravel Package

c975l/countlinescode-bundle

View on GitHub
Deep Wiki
Context7

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

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
craftcms/url-validator
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony