sebastian/complexity
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| idiosyncratic/coding-standard | 0.84 | Idiosyncratic coding standard for all Idiosyncratic Projects, based on Doctrine Coding Standard. Adds @public-read-only for private properties exposed as read-only (e.g., via __get) and disables alignment of equals signs in assignments. | 0 | 0 | 0 | 4 | 0 | 0.0 | 9.7 | — | — | |
| sebastian/version | 0.82 | 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,579 | 6,597 | 36 | 14M | 1 | 40.7 | 51.1 | BSD-3-Clause | 4 months ago | |
| tomasvotruba/cognitive-complexity | 0.82 | — | 157 | 148 | 3 | 197K | 0 | 0.9 | 42.8 | MIT | — | |
| phpcq/phpcq | 0.81 | — | 17 | 17 | 3 | 46 | 9 | 18.0 | 11.9 | MIT | 3 months ago | |
| bigoen/redis-bundle | 0.80 | — | 5 | 5 | 0 | 0 | 0 | 3.0 | — | MIT | 1 year ago | |
| sebastian/phpcpd | 0.79 | PHPCPD is a copy/paste detector for PHP that finds duplicated code (clones) across files and reports duplicate lines and locations. Distributed as a PHAR and installable via Phive. Note: this project is unmaintained and archived. | 2,213 | 2,253 | 189 | 391K | 0 | 8.4 | 21.9 | BSD-3-Clause | — | |
| lendable/composer-license-checker | 0.79 | Checks your Composer dependencies’ licenses against configurable allow rules (by SPDX license, vendor, or package) to help ensure OSS compliance and reduce legal risk. Works in CI and can read license data from Composer’s installed.json or composer licenses. | 15 | 15 | 3 | 13K | 3 | 16.9 | 45.4 | MIT | 5 months ago | |
| phpmd/phpmd | 0.79 | 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,428 | 2,503 | 351 | 2M | 68 | 45.6 | 60.9 | BSD-3-Clause | 2 years ago | |
| citizen63000/easy-api-jwt-authentication | 0.79 | — | 0 | 0 | 0 | 0 | 0 | 1.5 | — | MIT | 2 years ago | |
| sebastian/lines-of-code | 0.79 | 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. | 1,174 | 1,175 | 8 | 12M | 1 | 27.3 | 64.7 | BSD-3-Clause | 3 weeks ago | |
| mcustiel/phiremock-server | 0.79 | PHP HTTP mock/stub server inspired by WireMock. Mock requests by method/headers/URL/body/forms, set responses via REST API, support scenarios, priorities, latency simulation, verification counts, proxying, and loading expectations from JSON files. | 19 | 19 | 6 | 18K | 1 | 21.4 | 46.8 | GPL-3.0 | 2 months ago | |
| phpcq/repository-definition | 0.78 | Repository definition package for the PHPCQ (PHP Code Quality) project, used to automate and configure code quality checks in CI pipelines. Part of the phpcq.org ecosystem built around tools like PHP_CodeSniffer and PHPMD. | 0 | 0 | 0 | 36 | 0 | 0.0 | 21.7 | MIT | — | |
| bernardosecades/php-quality-tools | 0.77 | Collection of PHP quality and static analysis tools bundled for easier setup and consistent code standards across projects, including linters, formatters, and test/coverage helpers to streamline CI and improve code health. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| sebastian/environment | 0.77 | sebastian/environment helps PHP developers detect runtime details (PHP vs HHVM, OS, architecture, 32/64-bit, debugging extensions) to choose runtime-specific execution paths. Commonly used by testing tools to adapt behavior to the environment. | 6,776 | 6,786 | 37 | 13M | 1 | 51.9 | 53.9 | BSD-3-Clause | 2 weeks ago | |
| arty/php-coding-standard | 0.77 | — | 2 | 3 | 0 | 2 | 0 | 13.8 | 4.6 | MIT | 5 months ago | |
| sebastian/type | 0.77 | 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,500 | 1,501 | 13 | 13M | 1 | 31.1 | 63.7 | BSD-3-Clause | 3 weeks ago | |
| sirbrillig/phpcs-import-detection | 0.77 | PHPCS sniffs that warn when classes/functions/constants are used without an explicit import or fully-qualified name, and flags unused imports. Helps catch namespace issues during refactors (note: PHP 8 tokenization bug/performance caveats). | 32 | 32 | 7 | 8K | 10 | 8.4 | 36.3 | NOASSERTION | 3 years ago | |
| phpmetrics/phpmetrics | 0.76 | PhpMetrics analyzes PHP codebases and generates a clean, readable HTML report with class/project metrics. Install via Composer and run against a folder to produce a browsable report. Supports configuration files for options, rules, and CI use. | 2,598 | 2,606 | 262 | 274K | 3 | 33.0 | 29.6 | MIT | 11 months ago | |
| phploc/phploc | 0.75 | 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,347 | 2,378 | 163 | 102K | 0 | 8.3 | 16.1 | BSD-3-Clause | — | |
| markbaker/complex | 0.75 | PHP class library for complex number math. Create and operate on complex values with add/subtract/multiply/divide plus polar functions (theta, rho), conjugate/inverse, roots, logs, exponentials, powers, and a full set of trig and hyperbolic functions. | 1,661 | 1,663 | 12 | 7M | 1 | 10.3 | 51.0 | MIT | 4 years ago |
How can I help you explore Laravel packages today?