tomasvotruba/unused-public
PHPStan extension that finds unused public methods, properties, and constants by scanning calls across your codebase. Helps clean up dead APIs or spot members that should be private/protected. Supports gradual adoption via allowed % thresholds and excluding template-used methods.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpstan/php-8-stubs | 0.86 | 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 | |
| rector/type-perfect | 0.86 | Type Perfect adds 10 PHPStan rules to tighten type declarations: replace empty/isset checks with instanceof for precise narrowing, prefer explicit getters over magic array access, and enforce interface signatures. Easy to enable even on legacy code; improves reliability fast. | 105 | 105 | 7 | 403K | 0 | 10.5 | 43.6 | MIT | 3 months ago | |
| ua-parser/uap-php | 0.86 | UA Parser for PHP: parse browser user agents into structured data (browser, engine, OS, device) using the uap-core regex database. Helpful for analytics, logging, and device detection; easy integration via Composer and built-in caching support. | 562 | 575 | 85 | 888K | 3 | 6.4 | 45.5 | NOASSERTION | — | |
| netipar/laravel-chunky | 0.85 | Resumable, chunk-based file uploads for Laravel. Send large files reliably over flaky connections with server-side chunk tracking and fingerprint-based resume. Typed backend plus Vue, React, Alpine and Livewire frontends. No queue worker or broadcasting required by default. | 0 | 0 | 0 | 167 | 0 | 26.1 | 36.5 | MIT | 3 months ago | |
| php-static-analysis/phpstan-extension | 0.85 | 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 | |
| tomasvotruba/lavarle | 0.85 | Lavarle provides Rector rules for Laravel, automating framework upgrades and code modernization. It helps teams refactor legacy Laravel applications safely, apply common API changes, and adopt best practices with less manual work. Built for Rector-powered automated refactoring, it makes Laravel upgr... | 0 | 6 | — | 0 | — | 0.0 | — | — | — | |
| etsglobal/php-static-analysis | 0.85 | A PHP static analysis package from ETS Global for inspecting PHP codebases and supporting code quality workflows. Integrates into Laravel/PHP projects to help surface potential issues, encourage cleaner code, and complement existing test and CI pipelines with additional static checks. | 0 | 0 | — | 50 | — | 0.0 | 23.6 | — | — | |
| phpstan/phpstan-deprecation-rules | 0.85 | PHPStan extension that reports usage of deprecated classes, methods, properties, constants, and traits. Supports custom deprecation markers and scopes, with stub files for deprecations in third-party code you don’t own. | 464 | 468 | 26 | 6M | 17 | 28.8 | 70.1 | MIT | 3 months ago | |
| larastan/larastan | 0.85 | 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 | |
| localheinz/phpstan-rules | 0.85 | 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 | |
| nunomaduro/laravel-code-analyse | 0.85 | 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 | |
| phpstan/phpstan | 0.85 | 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 | |
| tomasvotruba/phpstan-bodyscan | 0.84 | PHPStan Bodyscan is a PHPStan extension that scans PHP method bodies for issues and surfaces them during static analysis. It helps catch body-level code problems early and fits easily into an existing PHPStan setup. | 133 | — | 10 | — | 0 | 0.6 | — | MIT | 2 years ago | |
| 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 | |
| rector/rector-laravel | 0.84 | Community Rector extension to automate Laravel upgrades. Adds Laravel and first-party package rules (e.g., Cashier, Livewire), with version-based set providers that detect your composer.json or manual level sets to apply the right refactors for your target Laravel version. | 1,298 | 1,259 | 120 | 7K | 15 | 45.1 | 23.3 | MIT | 1 week ago | |
| dontdrinkandroot/common | 0.84 | A small utility library with commonly used PHP helpers and extensions, including a PHPStan extension. Intended to provide shared building blocks for projects, with CI and code quality tooling support via SonarCloud badges. | 0 | 0 | 0 | 85 | 0 | 1.8 | 26.7 | Apache-2.0 | 2 years ago | |
| mark-gerarts/phpstan-automapper-plus | 0.84 | PHPStan extension for AutoMapper+ that suppresses false “map() invoked with 3 parameters” errors while MapperInterface lacks the optional $context parameter (added post-1.0, formal in 2.0). Install via extension-installer or include phpstan.neon. | 0 | 0 | 1 | 10K | 1 | 0.5 | 55.1 | — | 7 years ago | |
| 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 | |
| tomasvotruba/cognitive-complexity | 0.84 | 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. | 174 | 171 | 3 | 362K | 0 | 19.6 | 53.2 | MIT | 1 month ago | |
| matt-allan/laravel-code-style | 0.84 | Automatic code style checking and fixing for Laravel projects. Wraps PHP-CS-Fixer with Laravel-specific rules and presets, so you can enforce consistent formatting across your app, packages, and tests with a single command. | 393 | — | 31 | — | 0 | 1.4 | — | MIT | — |
How can I help you explore Laravel packages today?