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 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

Technical Evaluation

Architecture fit: The package is a PHPCS sniff, which aligns perfectly with Laravel's standard code quality tooling (e.g., laravel/pint or custom PHPCS rulesets). It operates as a static analysis layer within existing linting pipelines, requiring no architectural changes.
Integration feasibility: High if the package is publicly available on Packagist (currently unclear due to "Repository: unknown"). Installation would require Composer dependency addition and ruleset configuration. However, the unknown repository and lack of Packagist visibility create significant friction for reliable integration.
Technical risk: Critical. The "NOASSERTION" license poses legal uncertainty for commercial use. The unknown repository prevents code auditing for security or compatibility issues. Low stars (32) and infrequent updates (last release April 2023) indicate potential abandonment. Compatibility with modern PHP 8.x or PHPCS 4.x is unverified.
Key questions:

  • What is the exact GitHub repository URL?
  • Is the package registered on Packagist?
  • What PHP/PHPCS versions does it officially support?
  • Are there known security vulnerabilities or unresolved bugs?
  • Is there active maintenance or community support?

Integration Approach

Stack fit: Native to Laravel's PHPCS ecosystem. Works with laravel/pint, squizlabs/php_codesniffer,

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