Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Phpcs Import Detection

Phpcs Import Detection Laravel Package

sirbrillig/phpcs-import-detection

PHP_CodeSniffer plugin that detects unnecessary or missing PHP import (use) statements. Helps keep namespaces clean by flagging unused imports and suggesting fixes, improving code style consistency and reducing clutter in modern PHP projects.

Deep Wiki
Context7

sirbrillig/phpcs-import-detection is a PHPCS sniff that detects and reports unused or missing imports (use statements) in PHP files. It helps keep codebases tidy by surfacing dead imports and improving consistency around namespace usage.

Ideal for teams enforcing style via PHP_CodeSniffer, it integrates into existing rulesets and CI pipelines to prevent import-related noise and reduce manual cleanup.

  • Detects unused use statements and flags them during linting
  • Supports common namespace and class import patterns
  • Works as a drop-in addition to your PHPCS ruleset
  • Helps maintain cleaner diffs by reducing import clutter
  • Suitable for automation in CI to enforce import hygiene
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport