π 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.
β525Oct 7, 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)β632Aug 11, 2026Updated last month
- βοΈ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.β93Sep 29, 2026Updated last week
- Find Unused Public Elements in Your Codeβ195Jun 21, 2026Updated 3 months ago
- π Various extra strict PHPStan rules we found useful in ShipMonk.β155Oct 1, 2026Updated last week
- TwigStan is a static analyzer for Twig templates powered by PHPStanβ281Nov 11, 2025Updated 10 months ago
- Managed hosting for WordPress and PHP on Cloudways β’ AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- π§ͺ 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 last month
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projectsβ275Oct 2, 2026Updated last week
- PHPStan extension to require minimal type-coverageβ223Updated this week
- Swiss knife in pocket of every upgrade architect!β215Updated this week
- A minimalistic error formatter for PHPStanβ87Sep 2, 2026Updated last month
- Find leaking classes that you never use... and get rid of them.β154Updated this week
- π Provides a composer package with rules for phpstan/phpstan.β462Updated this week
- [deprecated] Get error count for each PHPStan levelβ133Sep 24, 2026Updated 2 weeks ago
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute, keyword & superglobal usages, with powerful rβ¦β344Sep 25, 2026Updated 2 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.
- Todo comments with expirationβ207Sep 29, 2026Updated last week
- Analyzes php-code for side-effects.β171Sep 16, 2026Updated 3 weeks ago
- 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
- CLI tool for quick size measure of PHP project, used PHP features and more. Zero dependencies. Runs anywhereβ355Sep 29, 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β¦β104Aug 21, 2026Updated last month
- 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,493Updated this week
- Show unused composer dependencies by scanning your codeβ1,692Sep 4, 2026Updated last month
- PHPStan rules to measure cognitive complexity of your classes and methodsβ171Updated this week
- 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.
- [Depreated] and moved to ββ107Oct 1, 2026Updated last week
- Performant array-to-object mapper supporting generics, array shapes, optional fields and much more!β30Updated this week
- zero dependency spec-compliant passkey library for phpβ20Oct 1, 2026Updated last week
- Put your architectural rules under test!β933Sep 29, 2026Updated last week
- π₯§ The PHP Installer for Extensionsβ2,041Updated this week
- GitHub Action to parallelize a PHPUnit test suite over multiple GitHub Action jobs.β32Sep 13, 2025Updated last year
- FIG PSR3 PHPStan rulesβ23Oct 2, 2026Updated last week
- Detect banned code through PHPStanβ299May 29, 2026Updated 4 months ago
- PHPStan based SQL static analysis and type inference for the database access layerβ299Updated this week
- GPUs on demand by Runpod - Special Offer Available β’ AdRun AI, ML, and HPC workloads on powerful cloud GPUsβwithout limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Inline your PHPStan error ignores into the source files via @phpstan-ignore comments.β15Jun 23, 2026Updated 3 months ago
- Lightweight PHP library for analyzing memory usage and finding memory leaks in PHP applications.β18Nov 28, 2025Updated 10 months ago
- Dependency free PHP library that helps to map any input into a strongly-typed structure.β1,531Sep 21, 2026Updated 2 weeks ago
- Analyzes PHPStan baseline files and creates aggregated error trend-reportsβ84Jun 22, 2026Updated 3 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 2 months ago
- A set of custom fixers for PHP CS Fixerβ243Oct 3, 2026Updated last week
- π§© Zero-dependencies lazy parser to read JSON of any dimension and from any source in a memory-efficient way.β809Jan 17, 2025Updated last year