PHP Classes

PHP Line Length Detector: Detect the line length of PHP source code files

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 54 All time: 10,612 This week: 673Up
Version License PHP version Categories
php-line-length-dete 1.0The PHP License7Algorithms, Tools, Text processing, L..., P...
Description 

Author

This package can detect the line length of PHP source code files.

It provides an application running from the shell command line console to analyze one or more PHP source files.

The package can process the given PHP source files to obtain statistics about the length of the lines of PHP code.

It generates HTML to display a report on a Web page that shows the maximum and the average number of characters used in the lines of the PHP source code files.

Innovation Award
PHP Programming Innovation award nominee
May 2023
Number 3
Many developers look at other developers' code to determine if they can understand what the code does to decide if it is helpful to use in their projects.

The readability of PHP code is one factor that may help other developers to understand the code that one developer writes.

One aspect of the readability of the code is the length of the line of code. PHP code that has very long lines is tough to read.

This package can analyze the PHP code of given source files to return valuable statistics about the length of the lines of code of those source files.

This way, other developers may know how easy or hard to read the code of a PHP project can be.

Manuel Lemos
Picture of DeGraciaMathieu
  Performance   Level  
Name: DeGraciaMathieu <contact>
Classes: 21 packages by
Country: France France
Age: ???
All time rank: 289780 in France France
Week rank: 4 Up1 in France France Up
Innovation award
Innovation award
Nominee: 15x

Winner: 2x

  Files folder image Files (24)  
File Role Description
Files folder image.github (1 directory)
Files folder imageapp (3 directories)
Files folder imagebootstrap (1 file)
Files folder imageconfig (3 files)
Files folder imageresources (1 directory)
Files folder imagetests (3 files, 2 directories)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file box.json Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Plain text file line-length-detector Class Class source
Accessible without login Plain text file Makefile Data Auxiliary data
Accessible without login Plain text file phpstan.neon Data Auxiliary data
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (24)  /  .github  
File Role Description
Files folder imageworkflows (1 file)

  Files folder image Files (24)  /  .github  /  workflows  
File Role Description
  Accessible without login Plain text file phpstan.yml Data Auxiliary data

  Files folder image Files (24)  /  app  
File Role Description
Files folder imageAggregators (2 files)
Files folder imageCommands (1 file)
Files folder imageProviders (1 file)

  Files folder image Files (24)  /  app  /  Aggregators  
File Role Description
  Plain text file Distribution.php Class Class source
  Plain text file Statistic.php Class Class source

  Files folder image Files (24)  /  app  /  Commands  
File Role Description
  Plain text file InspectCommand.php Class Class source

  Files folder image Files (24)  /  app  /  Providers  
File Role Description
  Plain text file AppServiceProvider.php Class Class source

  Files folder image Files (24)  /  bootstrap  
File Role Description
  Accessible without login Plain text file app.php Appl. Application script

  Files folder image Files (24)  /  config  
File Role Description
  Plain text file app.php Class Class source
  Plain text file commands.php Class Class source
  Accessible without login Plain text file view.php Aux. Auxiliary script

  Files folder image Files (24)  /  resources  
File Role Description
Files folder imageviews (1 file)

  Files folder image Files (24)  /  resources  /  views  
File Role Description
  Accessible without login Plain text file inspect.blade.php Aux. Auxiliary script

  Files folder image Files (24)  /  tests  
File Role Description
Files folder imageFeature (1 file)
Files folder imageUnit (1 file)
  Plain text file CreatesApplication.php Class Class source
  Plain text file Pest.php Class Class source
  Plain text file TestCase.php Class Class source

  Files folder image Files (24)  /  tests  /  Feature  
File Role Description
  Accessible without login Plain text file InspireCommandTest.php Example Example script

  Files folder image Files (24)  /  tests  /  Unit  
File Role Description
  Accessible without login Plain text file ExampleTest.php Example Example script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:54
This week:0
All time:10,612
This week:673Up