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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky