๐ PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like Laravel, Symfony, Twig, Doctrine, PHPUnit etc. Can automatically remove dead PHP code. Able to detect dead code used only in tests. Finds unused methods, constants, properties and enum cases.
โ517Sep 18, 2026Updated this week
Alternatives and similar repositories for dead-code-detector
Users that are interested in dead-code-detector are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ๐ Fast detection of composer dependency issues (unused dependencies, shadow dependencies, misplaced dependencies)โ631Aug 11, 2026Updated last month
- โ๏ธ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.โ93Jun 18, 2026Updated 3 months ago
- Find Unused Public Elements in Your Codeโ195Jun 21, 2026Updated 2 months ago
- ๐ Various extra strict PHPStan rules we found useful in ShipMonk.โ155Updated this week
- TwigStan is a static analyzer for Twig templates powered by PHPStanโ281Nov 11, 2025Updated 10 months ago
- Deploy on Railway without the complexity - Free Credits Offer โข AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- ๐งช Enforce PHP code coverage in your CI. Not by percentage, but target core methods! Allows you to start enforcing coverage for new code โฆโ59Aug 24, 2026Updated 3 weeks ago
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projectsโ271Updated this week
- PHPStan extension to require minimal type-coverageโ220Aug 29, 2026Updated 3 weeks ago
- Swiss knife in pocket of every upgrade architect!โ211Updated this week
- A minimalistic error formatter for PHPStanโ87Sep 2, 2026Updated 2 weeks ago
- Find leaking classes that you never use... and get rid of them.โ150Sep 4, 2026Updated 2 weeks ago
- ๐ Provides a composer package with rules for phpstan/phpstan.โ461Sep 6, 2026Updated 2 weeks ago
- Get error count for each PHPStan levelโ134Aug 4, 2026Updated last month
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute, keyword & superglobal usages, with powerful rโฆโ342Aug 2, 2026Updated last month
- Wordpress hosting with auto-scaling - Free Trial Offer โข AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Todo comments with expirationโ205Aug 6, 2026Updated last month
- Analyzes php-code for side-effects.โ166Updated this week
- CLI tool for quick size measure of PHP project, used PHP features and more. Zero dependencies. Runs anywhereโ355Jun 15, 2026Updated 3 months ago
- A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependenciesโ1,011Sep 13, 2026Updated last week
- ๐ก Doctrine entity preloading: Efficient & easy to use solution to n+1 problem in Doctrine ORM. Supports all association types and both Dโฆโ103Aug 21, 2026Updated 3 weeks ago
- A modular set of features to reduce configuration boilerplate for your Symfony commands.โ80Feb 16, 2026Updated 7 months ago
- Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.โ3,455Updated this week
- Show unused composer dependencies by scanning your codeโ1,691Sep 4, 2026Updated 2 weeks ago
- PHPStan rules to measure cognitive complexity of your classes and methodsโ167Jun 8, 2026Updated 3 months ago
- GPU virtual machines on DigitalOcean Gradient AI โข AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Safe and steady way to raise your composer dependency versionsโ106Jul 5, 2026Updated 2 months ago
- Performant array-to-object mapper supporting generics, array shapes, optional fields and much more!โ30Sep 1, 2026Updated 2 weeks ago
- zero dependency spec-compliant passkey library for phpโ19Jul 28, 2026Updated last month
- Put your architectural rules under test!โ931Updated this week
- ๐ฅง The PHP Installer for Extensionsโ2,014Updated this week
- GitHub Action to parallelize a PHPUnit test suite over multiple GitHub Action jobs.โ32Sep 13, 2025Updated last year
- FIG PSR3 PHPStan rulesโ23Sep 1, 2026Updated 2 weeks ago
- Detect banned code through PHPStanโ299May 29, 2026Updated 3 months ago
- PHPStan based SQL static analysis and type inference for the database access layerโ299Sep 7, 2026Updated last week
- Virtual machines for every use case on DigitalOcean โข AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Inline your PHPStan error ignores into the source files via @phpstan-ignore comments.โ15Jun 23, 2026Updated 2 months ago
- Lightweight PHP library for analyzing memory usage and finding memory leaks in PHP applications.โ18Nov 28, 2025Updated 9 months ago
- Dependency free PHP library that helps to map any input into a strongly-typed structure.โ1,530Sep 7, 2026Updated last week
- Analyzes PHPStan baseline files and creates aggregated error trend-reportsโ84Jun 22, 2026Updated 2 months ago
- Two phase migrations for Doctrine ORM: before and after deploying new codebase version. Suitable for rolling-update deployments (e.g. in โฆโ25Aug 6, 2026Updated last month
- A set of custom fixers for PHP CS Fixerโ242Sep 12, 2026Updated last week
- ๐งฉ Zero-dependencies lazy parser to read JSON of any dimension and from any source in a memory-efficient way.โ810Jan 17, 2025Updated last year