๐ 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.
โ534Oct 25, 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)โ635Aug 11, 2026Updated 2 months ago
- โ๏ธ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.โ93Sep 29, 2026Updated last month
- [Deprecated] Use โ insteadโ194Oct 6, 2026Updated 3 weeks ago
- ๐ Various extra strict PHPStan rules we found useful in ShipMonk.โ156Oct 1, 2026Updated 3 weeks ago
- PHPStan extension to require minimal type-coverageโ226Oct 9, 2026Updated 3 weeks 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 โฆโ60Updated this week
- TwigStan is a static analyzer for Twig templates powered by PHPStanโ283Nov 11, 2025Updated 11 months ago
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projectsโ276Updated this week
- Swiss knife in pocket of every upgrade architect!โ217Oct 17, 2026Updated last week
- Find leaking classes that you never use... and get rid of them.โ156Oct 11, 2026Updated 2 weeks ago
- ๐ Provides a composer package with rules for phpstan/phpstan.โ460Oct 21, 2026Updated last week
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute, keyword & superglobal usages, with powerful rโฆโ346Oct 15, 2026Updated 2 weeks ago
- A minimalistic error formatter for PHPStanโ87Sep 2, 2026Updated last month
- [deprecated] Get error count for each PHPStan levelโ133Sep 24, 2026Updated last month
- 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.
- 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,011Updated this week
- zero dependency spec-compliant passkey library for phpโ21Updated this week
- Show unused composer dependencies by scanning your codeโ1,695Updated this week
- Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.โ3,542Updated this week
- CLI tool for quick size measure of PHP project, used PHP features and more. Zero dependencies. Runs anywhereโ355Sep 29, 2026Updated last month
- Put your architectural rules under test!โ945Updated this week
- Detect banned code through PHPStanโ299May 29, 2026Updated 5 months ago
- PHPStan rules to measure cognitive complexity of your classes and methodsโ173Oct 6, 2026Updated 3 weeks ago
- Bare Metal GPUs on DigitalOcean Gradient AI โข AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- [Depreated] and moved to โโ107Oct 1, 2026Updated 3 weeks ago
- ๐ก Doctrine entity preloading: Efficient & easy to use solution to n+1 problem in Doctrine ORM. Supports all association types and both Dโฆโ106Updated this week
- Analyzes php-code for side-effects.โ173Sep 16, 2026Updated last month
- PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.โ463Updated this week
- โ๏ธ PHP Architecture Tester - Easy architecture testing for PHPโ1,288Oct 19, 2026Updated last week
- Dependency free PHP library that helps to map any input into a strongly-typed structure.โ1,533Updated this week
- PHPStan based SQL static analysis and type inference for the database access layerโ298Oct 19, 2026Updated last week
- A modular set of features to reduce configuration boilerplate for your Symfony commands.โ80Feb 16, 2026Updated 8 months ago
- Next level type declaration check PHPStan rulesโ105Jul 30, 2026Updated 3 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.
- Performant array-to-object mapper supporting generics, array shapes, optional fields and much more!โ30Updated this week
- Extra strict and opinionated rules for PHPStanโ713Updated this week
- ๐ฅง The PHP Installer for Extensionsโ2,089Updated this week
- A set of custom fixers for PHP CS Fixerโ243Oct 23, 2026Updated last week
- ๐ฒ Zero-dependencies package to supercharge enum functionalities.โ362Nov 25, 2025Updated 11 months ago
- Enables type-safe comparisons of objects in PHPUnit.โ32Oct 20, 2026Updated last week
- GitHub Action to parallelize a PHPUnit test suite over multiple GitHub Action jobs.โ32Sep 13, 2025Updated last year