๐ 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.
โ540Nov 16, 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)โ637Nov 3, 2026Updated 2 weeks ago
- โ๏ธ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.โ93Nov 3, 2026Updated 2 weeks ago
- [Deprecated] Use โ insteadโ193Oct 6, 2026Updated last month
- ๐ Various extra strict PHPStan rules we found useful in ShipMonk.โ157Nov 5, 2026Updated 2 weeks ago
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projectsโ278Updated this week
- Deploy to Railway using AI coding agents - Free Credits Offer โข AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- ๐งช Enforce PHP code coverage in your CI. Not by percentage, but target core methods! Allows you to start enforcing coverage for new code โฆโ61Nov 3, 2026Updated 2 weeks ago
- PHPStan extension to require minimal type-coverageโ226Oct 9, 2026Updated last month
- Swiss knife in pocket of every upgrade architect!โ220Nov 8, 2026Updated last week
- Find leaking classes that you never use... and get rid of them.โ155Oct 29, 2026Updated 3 weeks ago
- ๐ Provides a composer package with rules for phpstan/phpstan.โ463Updated this week
- TwigStan is a static analyzer for Twig templates powered by PHPStanโ301Updated this week
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute, keyword & superglobal usages, with powerful rโฆโ348Nov 12, 2026Updated last week
- A minimalistic error formatter for PHPStanโ86Sep 2, 2026Updated 2 months ago
- [deprecated] Get error count for each PHPStan levelโ132Sep 24, 2026Updated last month
- Simple, predictable pricing with DigitalOcean hosting โข AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- Todo comments with expirationโ208Updated this week
- A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependenciesโ1,012Updated this week
- Show unused composer dependencies by scanning your codeโ1,693Nov 2, 2026Updated 2 weeks ago
- Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.โ3,563Updated this week
- zero dependency spec-compliant passkey library for phpโ21Nov 3, 2026Updated 2 weeks ago
- Detect banned code through PHPStanโ301Nov 2, 2026Updated 2 weeks ago
- CLI tool for quick size measure of PHP project, used PHP features and more. Zero dependencies. Runs anywhereโ354Sep 29, 2026Updated last month
- PHPStan rules to measure cognitive complexity of your classes and methodsโ178Oct 6, 2026Updated last month
- [Depreated] and moved to โโ107Oct 1, 2026Updated last month
- Simple, predictable pricing with DigitalOcean hosting โข AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- Put your architectural rules under test!โ954Nov 10, 2026Updated last week
- Analyzes php-code for side-effects.โ174Updated this week
- PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.โ466Updated this week
- ๐ก Doctrine entity preloading: Efficient & easy to use solution to n+1 problem in Doctrine ORM. Supports all association types and both Dโฆโ110Nov 3, 2026Updated 2 weeks ago
- A modular set of features to reduce configuration boilerplate for your Symfony commands.โ80Nov 11, 2026Updated last week
- โ๏ธ PHP Architecture Tester - Easy architecture testing for PHPโ1,292Nov 2, 2026Updated 2 weeks ago
- Dependency free PHP library that helps to map any input into a strongly-typed structure.โ1,537Updated this week
- Next level type declaration check PHPStan rulesโ105Jul 30, 2026Updated 3 months ago
- Extra strict and opinionated rules for PHPStanโ716Updated this week
- Deploy to Railway using AI coding agents - Free Credits Offer โข AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- PHPStan based SQL static analysis and type inference for the database access layerโ298Updated this week
- A set of custom fixers for PHP CS Fixerโ245Nov 13, 2026Updated last week
- ๐ฅง The PHP Installer for Extensionsโ2,116Updated this week
- Performant array-to-object mapper supporting generics, array shapes, optional fields and much more!โ30Updated this week
- ๐ฒ Zero-dependencies package to supercharge enum functionalities.โ363Nov 25, 2025Updated 11 months ago
- Enables type-safe comparisons of objects in PHPUnit.โ32Oct 20, 2026Updated last month
- GitHub Action to parallelize a PHPUnit test suite over multiple GitHub Action jobs.โ32Sep 13, 2025Updated last year
Are these results useful?