๐ 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.
โ502Aug 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)โ626Updated this week
- โ๏ธ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.โ93Jun 18, 2026Updated last month
- Find Unused Public Elements in Your Codeโ196Jun 21, 2026Updated last month
- ๐ Various extra strict PHPStan rules we found useful in ShipMonk.โ155Jul 17, 2026Updated 3 weeks ago
- TwigStan is a static analyzer for Twig templates powered by PHPStanโ277Nov 11, 2025Updated 8 months ago
- Open source password manager - Proton Pass โข AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- ๐งช Enforce PHP code coverage in your CI. Not by percentage, but target core methods! Allows you to start enforcing coverage for new code โฆโ56Jul 17, 2026Updated 3 weeks ago
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projectsโ270Jun 15, 2026Updated last month
- PHPStan extension to require minimal type-coverageโ217Updated this week
- Swiss knife in pocket of every upgrade architect!โ210Jun 20, 2026Updated last month
- A minimalistic error formatter for PHPStanโ87Jun 3, 2026Updated 2 months ago
- Find leaking classes that you never use... and get rid of them.โ149Jun 20, 2026Updated last month
- ๐ Provides a composer package with rules for phpstan/phpstan.โ459Aug 2, 2026Updated last week
- Get error count for each PHPStan levelโ135Aug 4, 2026Updated last week
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute, keyword & superglobal usages, with powerful rโฆโ339Aug 2, 2026Updated last 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.
- Todo comments with expirationโ205Updated this week
- Analyzes php-code for side-effects.โ164Jun 22, 2026Updated last month
- CLI tool for quick size measure of PHP project, used PHP features and more. Zero dependencies. Runs anywhereโ353Jun 15, 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โ1,009Updated this week
- ๐ก Doctrine entity preloading: Efficient & easy to use solution to n+1 problem in Doctrine ORM. Supports all association types and both Dโฆโ102May 21, 2026Updated 2 months ago
- A modular set of features to reduce configuration boilerplate for your Symfony commands.โ80Feb 16, 2026Updated 5 months ago
- Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.โ3,374Updated this week
- Show unused composer dependencies by scanning your codeโ1,684Apr 27, 2026Updated 3 months ago
- PHPStan rules to measure cognitive complexity of your classes and methodsโ166Jun 8, 2026Updated 2 months ago
- 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.
- Safe and steady way to raise your composer dependency versionsโ105Jul 5, 2026Updated last month
- Performant array-to-object mapper supporting generics, array shapes, optional fields and much more!โ30Aug 1, 2026Updated last week
- zero dependency spec-compliant passkey library for phpโ18Jul 28, 2026Updated last week
- Put your architectural rules under test!โ924Updated this week
- ๐ฅง The PHP Installer for Extensionsโ1,971Updated this week
- GitHub Action to parallelize a PHPUnit test suite over multiple GitHub Action jobs.โ32Sep 13, 2025Updated 10 months ago
- FIG PSR3 PHPStan rulesโ23Aug 2, 2026Updated last week
- Detect banned code through PHPStanโ299May 29, 2026Updated 2 months ago
- PHPStan based SQL static analysis and type inference for the database access layerโ297Jul 29, 2026Updated last week
- Managed Kubernetes at scale on DigitalOcean โข AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Inline your PHPStan error ignores into the source files via @phpstan-ignore comments.โ15Jun 23, 2026Updated last month
- Lightweight PHP library for analyzing memory usage and finding memory leaks in PHP applications.โ17Nov 28, 2025Updated 8 months ago
- Dependency free PHP library that helps to map any input into a strongly-typed structure.โ1,524Jul 29, 2026Updated last week
- Analyzes PHPStan baseline files and creates aggregated error trend-reportsโ84Jun 22, 2026Updated last month
- Two phase migrations for Doctrine ORM: before and after deploying new codebase version. Suitable for rolling-update deployments (e.g. in โฆโ24Updated this week
- A set of custom fixers for PHP CS Fixerโ242Updated this week
- ๐งฉ Zero-dependencies lazy parser to read JSON of any dimension and from any source in a memory-efficient way.โ807Jan 17, 2025Updated last year