๐ 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.
โ508Aug 28, 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)โ628Aug 11, 2026Updated 2 weeks ago
- โ๏ธ Split PHPStan baseline to multiple files per each error identifier. Supports both neon baseline and PHP baseline.โ93Jun 18, 2026Updated 2 months ago
- Find Unused Public Elements in Your Codeโ196Jun 21, 2026Updated 2 months ago
- ๐ Various extra strict PHPStan rules we found useful in ShipMonk.โ155Jul 17, 2026Updated last month
- TwigStan is a static analyzer for Twig templates powered by PHPStanโ279Nov 11, 2025Updated 9 months ago
- AI Agents on DigitalOcean Gradient AI Platform โข AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- ๐งช Enforce PHP code coverage in your CI. Not by percentage, but target core methods! Allows you to start enforcing coverage for new code โฆโ56Aug 24, 2026Updated last week
- Fun, powerful and practical PHPStan rules for Symfony, Doctrine, PHPUnit or plain PHP projectsโ270Updated this week
- PHPStan extension to require minimal type-coverageโ218Updated this week
- Swiss knife in pocket of every upgrade architect!โ211Jun 20, 2026Updated 2 months ago
- 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 2 months ago
- ๐ Provides a composer package with rules for phpstan/phpstan.โ461Aug 23, 2026Updated last week
- Get error count for each PHPStan levelโ135Aug 4, 2026Updated 3 weeks ago
- PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute, keyword & superglobal usages, with powerful rโฆโ341Aug 2, 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.
- Todo comments with expirationโ205Aug 6, 2026Updated 3 weeks ago
- Analyzes php-code for side-effects.โ165Jun 22, 2026Updated 2 months ago
- CLI tool for quick size measure of PHP project, used PHP features and more. Zero dependencies. Runs anywhereโ354Jun 15, 2026Updated 2 months ago
- A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependenciesโ1,010Updated this week
- ๐ก Doctrine entity preloading: Efficient & easy to use solution to n+1 problem in Doctrine ORM. Supports all association types and both Dโฆโ103Aug 21, 2026Updated last week
- A modular set of features to reduce configuration boilerplate for your Symfony commands.โ80Feb 16, 2026Updated 6 months ago
- Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.โ3,415Updated this week
- Show unused composer dependencies by scanning your codeโ1,688Apr 27, 2026Updated 4 months ago
- PHPStan rules to measure cognitive complexity of your classes and methodsโ166Jun 8, 2026Updated 2 months ago
- 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.
- Safe and steady way to raise your composer dependency versionsโ106Jul 5, 2026Updated last month
- 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โ19Jul 28, 2026Updated last month
- Put your architectural rules under test!โ927Aug 23, 2026Updated last week
- ๐ฅง The PHP Installer for Extensionsโ2,001Aug 19, 2026Updated last week
- GitHub Action to parallelize a PHPUnit test suite over multiple GitHub Action jobs.โ32Sep 13, 2025Updated 11 months ago
- FIG PSR3 PHPStan rulesโ23Aug 2, 2026Updated 3 weeks ago
- Detect banned code through PHPStanโ299May 29, 2026Updated 3 months ago
- PHPStan based SQL static analysis and type inference for the database access layerโ298Aug 12, 2026Updated 2 weeks 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.
- Inline your PHPStan error ignores into the source files via @phpstan-ignore comments.โ15Jun 23, 2026Updated 2 months ago
- Lightweight PHP library for analyzing memory usage and finding memory leaks in PHP applications.โ18Nov 28, 2025Updated 9 months ago
- Dependency free PHP library that helps to map any input into a strongly-typed structure.โ1,526Aug 11, 2026Updated 2 weeks ago
- Analyzes PHPStan baseline files and creates aggregated error trend-reportsโ84Jun 22, 2026Updated 2 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 3 weeks ago
- 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.โ809Jan 17, 2025Updated last year