Built something? We create video reels & spotlights for GitHub projects.Promote your project โ†’
shipmonk-rnd
Home / PHP / dead-code-detector

shipmonk-rnd/dead-code-detector

๐Ÿ’€ 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.

PHP โ—‡ dead MIT
โ˜…518STARS
โ‘‚32FORKS
!16ISSUES
๐Ÿ†#3,973GLOBAL RANK
๐Ÿ”ฅ5DAYS TRENDING
๐Ÿš€
Maintainer Growth Kit for dead-code-detector

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for shipmonk-rnd/dead-code-detector
CSV

Momentum

+13

STARS ยท LAST 30 DAYS

1

PER DAY

#282

MOST-STARRED PHP

Window7 days30 days90 days
Stars gained+7+13+90
Per day111
Forks gained+1+3+10

dead-code-detector gained 13 stars in the last 30 days, about 1 a day, and now has 518. It is about 3 years old and has averaged roughly 173 stars a year. It ranks #282 among PHP repositories and #3,973 across all languages on GitHubRepo.

Trending Record

dead-code-detector has maintained a continuous presence across global trending indexes, peaking at #2100. Below is the 30-day activity profile:

๐Ÿ’ก Overview

dead-code-detector is an open-source project written in PHP: ๐Ÿ’€ 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.

Engineered for speed, consistency, and developer ease, it solves common hurdles in dead, dead-code-removal, php. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

โšก Key Features

1

Optimized execution pipeline written in PHP for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

๐Ÿ“ฅ Installation

terminal
$ git clone https://github.com/shipmonk-rnd/dead-code-detector.git
cd dead-code-detector

โš™ System Requirements

Platforms

  • โ€ข macOS
  • โ€ข Linux
  • โ€ข Windows

Runtime & Dependencies

PHP >= 8.2 with Composer

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

๐Ÿง  How It Works

dead-code-detector coordinates its core functionality through a modular PHP pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

๐ŸŽฏ Production Use Cases

Production System Integration

Embed dead-code-detector into PHP backend services to handle core application logic.

CI/CD Automated Pipelines

Run automated validation, builds, and integration suites during deployments.

Developer Tooling & Workflows

Accelerate developer onboarding with pre-configured project utilities.

Open Source Extension

Fork and customize internal modules under the repository's open MIT license.

๐Ÿš€ Getting Started

1

Install dead-code-detector using your package manager: `git clone https://github.com/shipmonk-rnd/dead-code-detector.git`

2

Initialize your project workspace or configuration file for dead-code-detector.

3

Import dead-code-detector into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `dead-code-detector --help` to verify successful setup.

๐Ÿ‘ Strengths

Active community backing with 518 GitHub stars and verified adoption.
Permissive open-source distribution under the MIT license.
Built in PHP for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

โš ๏ธ Considerations

Requires familiarity with PHP and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

โ‡„ Alternatives & Direct Competitors

S
danielmiessler/SecLists โ˜… 73.8K PHP

SecLists is the security tester's companion. It's a collection of multiple types of lists used during security assessments, collected in one place. List types include usernames, passwords, URLs, sensitive data patterns, fuzzing payloads, web shells, and many more.

Compare โ†—
C
coollabsio/coolify โ˜… 62.4K PHP

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 280+ one-click services on your own servers.

Compare โ†—
A
appwrite/appwrite โ˜… 57.5K PHP

Appwriteยฎ - complete cloud infrastructure for your web, mobile and AI apps. Including Auth, Databases, Storage, Functions, Messaging, Hosting, Realtime and more

Compare โ†—
S
nextcloud/server โ˜… 36.9K PHP

โ˜๏ธ Nextcloud server, a safe home for all your data

Compare โ†—

๐Ÿ‘ฅ Who Should Use This

Developers and engineering teams building with PHP, seeking reliable, tested, and actively maintained tooling for production workloads.

๐Ÿ† Nearby in the Rankings

shipmonk-rnd/dead-code-detector is currently ranked #3,973 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#3,967 jbuehler23/jackdaw Rust โ˜… 520 Compare โ†—
#3,969 EverestAPI/Everest C# โ˜… 519 Compare โ†—
#3,969 julianxhokaxhiu/FFNx C++ โ˜… 519 Compare โ†—
#3,969 modal-labs/modal-client Python โ˜… 519 Compare โ†—
#3,969 connectrpc/connect-rust Rust โ˜… 519 Compare โ†—
#3,973 shipmonk-rnd/dead-code-detector This Project PHP โ˜… 518
#3,973 Zesty0wl/mac-performance-monitor Swift โ˜… 518 Compare โ†—
#3,975 ericflo/django-pagination Python โ˜… 517 Compare โ†—
#3,975 aws-amplify/amplify-swift Swift โ˜… 517 Compare โ†—
#3,975 fcaronte/KingInstaller Kotlin โ˜… 517 Compare โ†—
#3,978 microsoft/LangChain4j-for-Beginners Java โ˜… 516 Compare โ†—

Frequently Asked Questions

What does dead-code-detector do? +

๐Ÿ’€ 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.

What language is dead-code-detector written in? +

The primary language is PHP. Topics include: dead, dead-code-removal, php, phpstan, phpstan-extension.

Is dead-code-detector actively maintained? +

Yes, the last recorded push was on Sep 25, 2026 with 16 open issues being tracked.

How many stars does dead-code-detector have? +

dead-code-detector has 518 stars and 32 forks on GitHub.

How does dead-code-detector rank among GitHub repositories? +

With 518 stars, shipmonk-rnd/dead-code-detector is ranked #3,973 globally across all repositories tracked on GitHubRepo and #282 among PHP projects.

What license is dead-code-detector distributed under? +

The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.