💀 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.
☆341Mar 17, 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
Sorting:
- Find Unused Public Elements in Your Code☆192Jan 7, 2026Updated 2 months ago
- ✂️ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.☆91Jan 28, 2026Updated last month
- 🚀 Fast detection of composer dependency issues (unused dependencies, shadow dependencies, misplaced dependencies)☆603Jan 28, 2026Updated last month
- 📏 Various extra strict PHPStan rules we found useful in ShipMonk.☆148Updated this week
- A minimalistic error formatter for PHPStan☆87Mar 9, 2026Updated last week
- TwigStan is a static analyzer for Twig templates powered by PHPStan☆273Nov 11, 2025Updated 4 months ago
- Find leaking classes that you never use... and get rid of them.☆135Nov 21, 2025Updated 4 months ago
- Get error count for each PHPStan level☆134Feb 13, 2025Updated last year
- Swiss knife in pocket of every upgrade architect!☆200Updated this week
- Todo comments with expiration☆198Feb 16, 2026Updated last month
- PHPStan extension to require minimal type-coverage☆205Jan 7, 2026Updated 2 months ago
- 💡 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 3 months ago
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projects☆262Feb 6, 2026Updated last month
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages, with powerful rules to r…☆331Updated this week
- 👓 Provides a composer package with rules for phpstan/phpstan.☆441Updated this week
- A modular set of features to reduce configuration boilerplate for your Symfony commands.☆80Feb 16, 2026Updated last month
- Analyzes PHPStan baseline files and creates aggregated error trend-reports☆83Updated this week
- FIG PSR3 PHPStan rules☆23Feb 2, 2026Updated last month
- A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies☆990Mar 16, 2026Updated last week
- Analyzes php-code for side-effects.☆147Updated this week
- A tool to verify that your files are in harmony with your .editorconfig☆74Feb 15, 2026Updated last month
- PHPStan rules to measure cognitive complexity of your classes and methods☆147Dec 26, 2024Updated last year
- Performant array-to-object mapper supporting generics, array shapes, optional fields and much more!☆30Mar 6, 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 full text search engine with tokenization, stemming, typo tolerance, filters and geo support based on only PHP and SQLite.☆495Feb 10, 2026Updated last month
- Detect banned code through PHPStan☆291Mar 13, 2026Updated last week
- Show unused composer dependencies by scanning your code☆1,675Mar 9, 2026Updated 2 weeks ago
- Put your architectural rules under test!☆884Updated this week
- Enhance your PHP projects with php-datatypes. a robust library that introduces strict type safety and precision. Effortlessly manage sign…☆79Oct 20, 2025Updated 5 months ago
- 🎲 Zero-dependencies package to supercharge enum functionalities.☆359Nov 25, 2025Updated 3 months ago
- A set of custom fixers for PHP CS Fixer☆238Mar 7, 2026Updated 2 weeks ago
- License management plugin for Composer☆61Oct 1, 2025Updated 5 months ago
- Traces, metrics, and logs instrumentation within your Symfony application☆62Dec 15, 2025Updated 3 months ago
- ⏱️ Provides a composer package with an extension for detecting slow tests in phpunit/phpunit.☆146Updated this week
- Search abstraction over different search engines written in PHP. Currently implemented Elasticsearch, Opensearch, Algolia, Meilisearch, L…☆432Mar 2, 2026Updated 2 weeks ago
- Tool to compare two revisions of a class API to check for BC breaks☆595Mar 15, 2026Updated last week
- A minimal Symfony bundle recommended to create new bundles☆40Dec 19, 2023Updated 2 years ago
- Safe and steady way to raise your composer dependency versions☆89Dec 30, 2025Updated 2 months ago
- PHPStan based SQL static analysis and type inference for the database access layer☆292Nov 20, 2025Updated 4 months ago