PHP Package: cmgmyr/phploc

PHPLOC is a tool that quickly measures the size of a PHP project in terms of lines of code.

Current Version: 8.0.4
Last Updated: 2024-10-31
PHP Requirement: >=7.1
Dependencies: phpunit/php-file-iterator, sebastian/diff, phpunit/php-token-stream, phpunit/php-text-template, phpunit/php-code-coverage, phpunit/phpunit
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

PHPLOC is a simple tool that quickly measures the size of a PHP project. It counts lines of code, namespaces, classes, methods, and more. This information can be used to gauge the size and complexity of a project. PHPLOC is a valuable tool for developers and project managers alike, providing insights into the structure and scale of PHP projects.

🔗 View on GitHub

Download Latest Version: 8.0.4

Download Download v8.0.4

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php

// Example from PHPlibraries.com
require_once 'libs/cmgmyr/phploc/8.0.4/autoload.php';

use SebastianBergmann\PHPLOC\Analyser;
use SebastianBergmann\PHPLOC\Analyser\Project;
use SebastianBergmann\PHPLOC\Analyser\ProjectAnalyser;
use SebastianBergmann\PHPLOC\Log\CSV;
use SebastianBergmann\PHPLOC\Log\Json;
use SebastianBergmann\PHPLOC\Log\XML;


$obj = new SebastianBergmann\PHPLOC\Analyser();
echo "✅ Example created successfully.";

?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.