💀 PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like 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.
☆324Updated 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
Sorting:
- Find Unused Public Elements in Your Code☆193Jan 7, 2026Updated last month
- 🚀 Fast detection of composer dependency issues (unused dependencies, shadow dependencies, misplaced dependencies)☆593Jan 28, 2026Updated last month
- 📏 Various extra strict PHPStan rules we found useful in ShipMonk.☆148Feb 19, 2026Updated last week
- ✂️ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.☆90Jan 28, 2026Updated last month
- A minimalistic error formatter for PHPStan☆87Feb 18, 2026Updated last week
- TwigStan is a static analyzer for Twig templates powered by PHPStan☆271Nov 11, 2025Updated 3 months ago
- Find leaking classes that you never use... and get rid of them.☆135Nov 21, 2025Updated 3 months ago
- Todo comments with expiration☆198Feb 16, 2026Updated 2 weeks ago
- Get error count for each PHPStan level☆134Feb 13, 2025Updated last year
- Swiss knife in pocket of every upgrade architect!☆198Jan 9, 2026Updated last month
- PHPStan extension to require minimal type-coverage☆205Jan 7, 2026Updated last month
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages, with powerful rules to r…☆325Updated this week
- 💡 Doctrine entity preloading: Efficient & easy to use solution to n+1 problem in Doctrine ORM. Supports all association types and both D…☆99Dec 15, 2025Updated 2 months ago
- Analyzes PHPStan baseline files and creates aggregated error trend-reports☆83Jan 12, 2026Updated last month
- 👓 Provides a composer package with rules for phpstan/phpstan.☆439Feb 23, 2026Updated last week
- A modular set of features to reduce configuration boilerplate for your Symfony commands.☆80Feb 16, 2026Updated 2 weeks ago
- A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies☆987Updated this week
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projects☆260Feb 6, 2026Updated 3 weeks ago
- FIG PSR3 PHPStan rules☆23Feb 2, 2026Updated last month
- PHPStan rules to measure cognitive complexity of your classes and methods☆146Dec 26, 2024Updated last year
- Analyzes php-code for side-effects.☆144Nov 27, 2025Updated 3 months ago
- Detect banned code through PHPStan☆287Feb 17, 2026Updated last week
- Show unused composer dependencies by scanning your code☆1,656Updated this week
- A full text search engine with tokenization, stemming, typo tolerance, filters and geo support based on only PHP and SQLite.☆495Feb 10, 2026Updated 2 weeks ago
- A simple & straight-to-the-point PHP profiling extension with its built-in web UI☆91Jan 14, 2025Updated last year
- A tool to verify that your files are in harmony with your .editorconfig☆74Feb 15, 2026Updated 2 weeks ago
- Put your architectural rules under test!☆867Feb 23, 2026Updated last week
- ⏱️ Provides a composer package with an extension for detecting slow tests in phpunit/phpunit.☆144Updated this week
- 🎲 Zero-dependencies package to supercharge enum functionalities.☆359Nov 25, 2025Updated 3 months ago
- Next level type declaration check PHPStan rules☆100Jan 12, 2026Updated last month
- A minimal package for securely signing PSR-15 URIs in PHP applications.☆25Feb 7, 2026Updated 3 weeks ago
- A set of custom fixers for PHP CS Fixer☆238Jan 31, 2026Updated last month
- Search abstraction over different search engines written in PHP. Currently implemented Elasticsearch, Opensearch, Algolia, Meilisearch, L…☆432Feb 23, 2026Updated last week
- Enhance your PHP projects with php-datatypes. a robust library that introduces strict type safety and precision. Effortlessly manage sign…☆79Oct 20, 2025Updated 4 months ago
- Safe and steady way to raise your composer dependency versions☆90Dec 30, 2025Updated 2 months ago
- Performant array-to-object mapper supporting generics, array shapes, optional fields and much more!☆30Feb 1, 2026Updated last month
- Attributes used for static analysis☆94Jun 6, 2025Updated 8 months ago
- PHPStan based SQL static analysis and type inference for the database access layer☆289Nov 20, 2025Updated 3 months ago
- CLI tool for quick size measure of PHP project, used PHP features and more. Zero dependencies. Runs anywhere☆338Jan 10, 2026Updated last month