Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Cognitive Complexity Laravel Package

tomasvotruba/cognitive-complexity

A PHPStan extension that measures cognitive complexity of functions and classes, flagging code that's hard to read. Also detects complex constructor dependency trees in services like controllers and rules.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
nunomaduro/larastan 0.84 Larastan is a PHPStan extension for Laravel that adds static typing and catches bugs before you write tests. It understands Laravel's magic and boots your app container to resolve runtime types, supporting Laravel 9 through 11+. 6,547 6,561 529 454K 39 85.5 57.3 MIT 4 days ago
View on GitHub
contributte/phpstan 0.84 Contributte PHPStan integration for Nette projects. Install via Composer and get a ready-to-use PHPStan setup tailored for Nette 3.3+ on PHP 8.2+, with docs and ongoing maintenance by the Contributte team. 1 2 2 24K 0 4.8 56.9 MIT 10 months ago
View on GitHub
calebdw/phpstan-laravel 0.84 A PHPStan extension for Laravel that teaches static analysis about Laravel’s magic, including facades, helpers, Eloquent models, and container bindings, reducing false positives and surfacing more accurate type errors in Laravel apps. 35 35 7 12K 0 20.4 40.9 MIT 6 days ago
View on GitHub
php-static-analysis/phpstan-extension 0.84 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
View on GitHub
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 4 days ago
View on GitHub
Context7
localheinz/phpstan-rules 0.84 A Composer package of PHPStan rules from ergebnis that enforce stricter coding standards, covering areas like final classes, named arguments, and class extension. Install via Composer and include rules.neon, or let phpstan/extension-installer handle it automatically. Best layered on top of PHPStan's... 462 462 23 382 1 32.5 4.2 MIT 1 week ago
View on GitHub
phpstan/phpstan 0.84 PHPStan is a PHP static analysis tool that finds bugs in your code without running it. It catches whole classes of errors before tests are written, bringing compiled-language-style correctness checks to PHP projects. 14,147 14,221 972 19M 1,056 94.9 77.1 MIT 4 days ago
View on GitHub
Context7
phpstan/phpstan-php-parser 0.84 PHPStan extension for nikic/php-parser that adds precise type inference for AST nodes and visitors, improving static analysis of code that parses, traverses, or manipulates PHP source. 23 23 8 19K 1 0.3 28.3 — 4 years ago
View on GitHub
sidz/phpstan-rules 0.83 sidz/phpstan-rules adds extra PHPStan rules for catching magic numbers in comparisons, assignments, function arguments, and arithmetic. Install via Composer and configure ignored numbers, numeric strings, and rule exclusions. 30 31 4 29K 0 23.1 47.7 MIT 1 month ago
View on GitHub
soyhuce/phpstan-extension 0.83 A PHPStan extension from Soyhuce that adds custom rules and type extensions for Laravel and PHP projects, helping teams catch bugs earlier and improve static analysis accuracy in CI and local development. 1 — 1 — 0 0.9 1.5 MIT 1 year ago
View on GitHub
phpstan/phpstan-strict-rules 0.83 Extra strict, opinionated PHPStan rules for defensive, strongly typed PHP: require booleans in conditions, strict function-call flags, numeric arithmetic operands, matching switch types, no useless casts, and safer loop variable handling. 714 721 63 5M 35 45.9 75.1 MIT 5 days ago
View on GitHub
sweetchuck/robo-phpstan 0.83 Robo tasks for running PHPStan in your PHP projects. Provides configurable commands and integration helpers to execute static analysis as part of Robo workflows and CI pipelines, with options for paths, config files, and reporting. 0 0 0 1K 1 0.1 43.5 — —
View on GitHub
Context7
phpstan/php-8-stubs 0.83 Stub files for PHP 8 built-in functions, classes, and extensions, maintained for PHPStan. Improves static analysis and type inference by providing accurate signatures and phpDoc where native reflection is incomplete or inconsistent. 31 31 12 333K 3 30.2 65.5 MIT 1 week ago
View on GitHub
phpmetrics/phpmetrics 0.82 PhpMetrics is a static analysis tool for PHP that computes metrics for projects and classes and generates beautiful, readable HTML reports. Install it via Composer, run the binary against any folder, and explore complexity, maintainability, and quality insights right in your browser. 2,617 2,620 261 444K 2 46.4 35.8 MIT 2 months ago
View on GitHub
Context7
dave-liddament/php-language-extensions 0.82 PHP Language Extensions adds attributes for immutable classes, pure functions, read-only properties, and named parameters, with PHPStan rules to enforce them. Bring stronger safety and clearer APIs to PHP without waiting for new syntax. 196 196 5 27K 3 3.1 30.6 MIT 11 months ago
View on GitHub
sebastian/lines-of-code 0.81 A lightweight PHP library from Sebastian Bergmann for counting lines of code in PHP source files, reporting logical and physical line counts. Used by PHPUnit's code coverage tooling and handy for building metrics, reports, and static analysis tools. 1,180 1,182 9 24M 1 21.6 61.8 BSD-3-Clause 3 months ago
View on GitHub
grifart/phpstan-oneline 0.81 A PHPStan extension that formats each reported error on a single line, making analysis output easier to read, search, and parse in CI logs or terminals. Useful for grep-friendly error reports and cleaner build output. 24 — 5 — 1 0.5 — MIT 1 year ago
dave-liddament/phpstan-php-language-extensions 0.81 A PHPStan extension that adds support for extra PHP language features and type declarations, widening static analysis coverage so PHPStan understands more of your code. Helps catch bugs earlier and reduces false positives in Laravel and PHP projects. 44 45 4 25K 0 1.7 38.4 MIT 11 months ago
View on GitHub
cmgmyr/phploc 0.81 Measure the size and structure of a PHP project with phploc: lines of code, cyclomatic complexity, dependencies, and class counts, right from the command line. 27 27 7 385K 0 20.1 63.6 BSD-3-Clause 2 months ago
View on GitHub
nunomaduro/laravel-code-analyse 0.81 Laravel Code Analyse brings static code analysis to your Laravel apps. Run the artisan command to scan your codebase against configurable checks, catch common issues early, and keep your code clean, consistent, and production-ready. 6,547 6,548 529 183 39 74.6 28.6 MIT 4 days ago
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support