phauthentic/cognitive-code-analysis
A PHP library for measuring cognitive complexity in source code. It parses PHP and reports complexity scores to help identify hard-to-understand methods, improve maintainability, and integrate code-quality checks into CI and static analysis.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nunomaduro/phpinsights | 0.86 | PHP Insights analyzes your PHP code quality, coding style, architecture, and complexity straight from the terminal. Works out of the box with Laravel, Symfony, Yii, Magento, and more, with built-in checks that keep code reliable and loosely coupled. | 5,647 | 5,650 | 300 | 403K | 68 | 75.7 | 56.6 | MIT | 1 month ago | |
| worksome/coding-style | 0.85 | Worksome Coding Style provides shared ECS, PHPStan, and Rector configuration for Laravel/PHP projects. Install via Composer, generate the config stubs, add the scripts, and run them to enforce consistent formatting and static analysis. | 49 | 49 | 4 | 25K | 0 | 30.7 | 43.8 | MIT | 1 week ago | |
| tightenco/tighten-coding-standard | 0.84 | Tighten Coding Standard is an opinionated PHP_CodeSniffer ruleset for Laravel projects, enforcing consistent code style and catching common issues with minimal configuration. Install it via Composer and run it against your codebase. | 0 | 14 | — | 178 | — | 0.3 | 31.1 | — | — | |
| larastan/larastan | 0.84 | Larastan is a PHPStan extension for Laravel that adds static typing and catches whole classes of bugs before you write tests. It boots your application's container to resolve types only computable at runtime while supporting Laravel's magic. | 6,547 | 6,560 | 529 | 11M | 39 | 85.8 | 78.7 | MIT | 3 days ago | |
| artisanpack-ui/code-style | 0.84 | A custom PHP_CodeSniffer standard for ArtisanPack UI projects, with 16+ sniffs enforcing consistent formatting, naming, security, and best practices. Install via Composer, add a phpcs.xml ruleset, and run phpcs to check your code. | 0 | 0 | 0 | 4K | 19 | 23.9 | 62.5 | MIT | 2 months ago | |
| consistence/coding-standard | 0.84 | PHP coding standard for Consistence projects: a ready-to-use PHP_CodeSniffer ruleset plus configuration to enforce consistent style, naming, and best practices across codebases. Easy to adopt in CI and local development to keep code clean and uniform. | 74 | 79 | 22 | 2K | 4 | 11.7 | 22.6 | NOASSERTION | 6 years ago | |
| wyrihaximus/coding-standard | 0.84 | wyrihaximus/coding-standard is a PHP coding standard package for defining and enforcing consistent code style across PHP projects. It provides a shared standard to help keep formatting and conventions uniform in a codebase. | 0 | 0 | 0 | 200K | 1 | 29.9 | 65.6 | MIT | 1 week ago | |
| blumilksoftware/codestyle | 0.84 | Blumilk's shared PHP code style ruleset for Laravel projects, bundling PHP-CS-Fixer configuration and conventions to keep formatting consistent across apps and packages. Quick to install, easy to extend, and designed for team-wide use. | 13 | — | 2 | — | 13 | 4.0 | 4.5 | MIT | 1 year ago |
|
| infocyph/phpforge | 0.84 | PHPForge from infocyph is a lightweight PHP scaffolding and code generation toolkit for forging boilerplate classes, files, and project structures from simple commands or templates, helping streamline everyday development workflows. | 1 | 1 | 0 | 32K | 0 | 0.0 | 55.3 | MIT | — | |
| jrmajor/cs | 0.84 | jrmajor/cs is an opinionated coding standard package for PHP projects, bundling PHP-CS-Fixer rules and presets so you can enforce consistent code style across your codebase with minimal configuration and a single install. | 2 | 2 | 0 | 288 | 0 | 2.0 | 27.9 | — | 10 months ago | |
| facile-it/facile-coding-standard | 0.84 | PHP coding standard based on PHP-CS-Fixer by Facile.it. Installs via Composer with an interactive setup that generates a .php-cs-fixer.dist.php, auto-detects files from composer autoload (psr-0/psr-4/classmap), and adds cs-check/cs-fix scripts. | 10 | 10 | 9 | 11K | 0 | 21.9 | 47.3 | — | 5 months ago | |
| stanislas-poisson/php-dev-tools | 0.83 | A collection of PHP development tools for Laravel projects, bundling code quality and debugging utilities to streamline local workflows. Includes commonly used dev dependencies and configuration to help teams catch issues early and keep code consistent. | 0 | 0 | 0 | 2K | 0 | 19.8 | 54.5 | MIT | 1 week ago | |
| phpcq/repository-definition | 0.83 | 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 | 30 | 0 | 0.1 | 20.6 | MIT | — | |
| zerkalica/php-code-browser | 0.83 | A lightweight PHP package for exploring source code, navigating files, and inspecting classes and methods in a project. It provides a simple interface for understanding package internals, browsing code structure, and quickly locating implementation details during development. | 0 | 1 | 1 | 5 | 0 | 0.0 | 10.8 | BSD-3-Clause | — | |
| chiiya/laravel-code-style | 0.83 | Code style configurations for Laravel projects combining PHP-CS-Fixer, ECS, and Rector. Install via Composer, publish the config files with artisan, then adjust ECS, PHP-CS-Fixer, Rector, and PHPStan settings to match your project structure. | 1 | 1 | 1 | 722 | 0 | 17.3 | 40.6 | MIT | 2 months ago | |
| phpcq/all-tasks | 0.83 | phpcq/all-tasks bundles the full set of PHPCQ tasks into one convenient package, so you can install and run multiple code quality tools with a single dependency. Ideal for setting up consistent linting, testing, and analysis in your PHP projects. | 4 | 4 | 1 | 42 | 0 | 0.1 | 13.4 | MIT | — | |
| amoifr/phpquality-bundle | 0.83 | Symfony bundle and Docker image for PHP static code analysis. Generates reports on complexity, maintainability, coupling, architecture/SOLID layer violations, and coverage. Built as a modern replacement for the unmaintained phpmetrics/phpmetrics. | 4 | 4 | 0 | 2 | 0 | 0.0 | 2.0 | — | — | |
| phpcq/coding-standard | 0.83 | — | 1 | 1 | 3 | 218 | 4 | 1.2 | 29.2 | BSD-3-Clause | — | |
| php-static-analysis/phpstan-extension | 0.83 | A PHPStan extension for PHP projects that adds custom rules and configuration to strengthen static analysis. Integrate it with PHPStan to catch potential issues earlier, enforce coding standards, and improve overall code quality in your development workflow. | 15 | 15 | 0 | 2K | 0 | 0.1 | 30.0 | MIT | 1 year ago | |
| imanghafoori/php-imports-analyzer | 0.83 | CLI tool to scan Composer-based PHP projects for unnecessary or incorrect use/import statements. Helps clean up imports and enforce coding standards across apps and open-source packages. Install as dev dependency or globally; run check_imports from your project root. | 21 | 22 | 1 | 8K | 0 | 0.1 | 35.7 | MIT | — |
How can I help you explore Laravel packages today?