sebastian/lines-of-code
sebastian/lines-of-code is a lightweight PHP library for counting lines of code in PHP source files. Useful for reporting, metrics, and tooling, it can be installed via Composer as a runtime or dev dependency.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sebastian/type | 0.85 | sebastian/type provides lightweight value objects that model PHP’s type system. Useful for tools and libraries that need to represent, compare, and work with types (including complex and composite types) in a consistent, structured way. | 1,497 | 1,499 | 13 | 12M | 1 | 31.0 | 63.6 | BSD-3-Clause | 2 months ago | |
| cmgmyr/phploc | 0.80 | Laravel-friendly wrapper around phpLOC for measuring PHP project size and structure. Generate lines-of-code, classes, methods, complexity-style stats from the command line or within builds to quickly gauge codebase scope and trends. | 26 | 26 | 5 | 284K | 0 | 22.4 | 65.0 | BSD-3-Clause | 1 year ago | |
| sebastian/object-enumerator | 0.80 | Traverses array structures and object graphs to enumerate all referenced objects, helping you inspect, analyze, or collect objects reachable from complex data structures. Install via Composer for production or as a dev dependency for testing and tooling. | 6,542 | 6,546 | 9 | 12M | 0 | 46.2 | 53.2 | BSD-3-Clause | 2 months ago | |
| sebastian/version | 0.78 | Library for deriving a PHP project’s version from Git. Provide a release string and project path; Version::asString() returns the release, a -dev suffix, or git describe output (tags/commits) depending on repo state and release format. | 6,583 | 6,602 | 36 | 13M | 0 | 47.4 | 53.4 | BSD-3-Clause | 2 months ago | |
| sebastian/complexity | 0.78 | Compute code complexity metrics for PHP units (functions, methods, classes). sebastian/complexity provides programmatic analysis useful for static analysis tools, quality gates, and CI reporting; install via Composer for project or dev-only use. | 1,252 | 1,255 | 10 | 12M | 1 | 27.6 | 64.7 | BSD-3-Clause | 2 months ago | |
| phploc/phploc | 0.76 | phploc is a command-line tool for quickly measuring the size of a PHP project, reporting LOC/NCLOC/CLOC, LLOC, and counts of classes, traits, methods, functions, and cyclomatic complexity. Archived: no longer maintained. | 2,348 | 2,378 | 162 | 107K | 0 | 8.3 | 16.3 | BSD-3-Clause | — | |
| phpmd/phpmd | 0.74 | PHPMD (PHP Mess Detector) scans PHP code for potential problems like overly complex methods, unused parameters, and suspicious code. It’s a CLI tool with configurable rulesets, Baseline support, and CI-friendly output formats to keep codebases clean. | 2,418 | 2,494 | 350 | 2M | 86 | 68.3 | 81.5 | BSD-3-Clause | 2 years ago | |
| squizlabs/php_codesniffer | 0.73 | PHP_CodeSniffer (PHPCS) provides phpcs to detect coding standard violations and phpcbf to automatically fix them. Tokenizes PHP files against defined standards to keep code clean and consistent, suitable for teams and CI. | 1,491 | 1,693 | 97 | 6M | 158 | 59.4 | 89.6 | BSD-3-Clause | 4 months ago | |
| dragon-code/codestyler | 0.66 | Codestyler by The Dragon Code automatically fixes coding style issues in PHP/Laravel projects using Rector and Laravel Pint. Installs via Composer and can publish pint.json and .editorconfig via CLI for consistent formatting and linting. | 29 | 29 | 0 | 35K | 0 | 30.0 | 49.9 | MIT | 2 weeks ago | |
| friendsofphp/php-cs-fixer | 0.63 | PHP CS Fixer automatically fixes PHP code to match coding standards. Use built-in rule sets like @PER-CS, @Symfony, or @PhpCsFixer, or define your own config. Helps modernize code for newer PHP and PHPUnit. Supports PHP 7.4–8.5. | 13,489 | 13,565 | 1,630 | 5M | 45 | 86.4 | 73.4 | MIT | 1 month ago | |
| dealerdirect/phpcodesniffer-composer-installer | 0.62 | Composer installer plugin that automatically discovers and installs PHP_CodeSniffer coding standards (rulesets) from Composer packages. It configures PHPCS installed_paths for you, avoiding manual symlinks and configuration. Supports PHPCS 3/4 and Composer 2.2+. | 596 | 603 | 39 | 4M | 8 | 34.0 | 66.3 | MIT | 4 months ago | |
| phpstan/phpstan | 0.62 | PHPStan is a PHP static analysis tool that finds bugs without running your code. It checks types and logic, flags common error patterns early, and helps enforce higher code quality—bringing PHP closer to compiled-language safety before tests or runtime. | 13,894 | 13,945 | 947 | 8M | 1,103 | 90.8 | 72.0 | MIT | 1 week ago | |
| phpunit/phpunit | 0.62 | PHPUnit is the leading unit testing framework for PHP, based on the xUnit architecture. Run tests from a bundled PHAR or install via Composer, with CI and code coverage support to help keep your code reliable. | 20,013 | 20,525 | 2,233 | 13M | 59 | 88.0 | 72.7 | BSD-3-Clause | 1 day ago | |
| composer/composer | 0.62 | Composer is the de facto PHP dependency manager. Declare project requirements in composer.json, install/update packages from Packagist, and lock versions for reproducible builds. Supports private repositories and integrates with common VCS tools like Git. | 29,363 | 29,421 | 4,775 | 3M | 116 | 89.3 | 60.2 | MIT | 1 week ago |
How can I help you explore Laravel packages today?