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

Phpcodesniffer Composer Installer Laravel Package

dealerdirect/phpcodesniffer-composer-installer

Composer installer plugin that automatically discovers and installs PHP_CodeSniffer coding standards (rulesets) from Composer packages. It configures PHPCS installed_paths for you, avoiding manual symlinks and configuration. Supports PHPCS 3/4 and Composer 2.2+.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: This Composer plugin integrates seamlessly into Laravel's existing dependency management workflow. Laravel projects inherently rely on Composer for package management, and this plugin operates as a native Composer extension that dynamically configures PHP_CodeSniffer standards without manual intervention. It aligns perfectly with Laravel's development toolchain where code quality tools like phpcs are commonly used via composer scripts.

Integration feasibility: Extremely high. Requires only adding to require-dev, configuring Composer plugin permissions, and running composer install. The plugin automatically detects and configures standards from Composer packages with phpcodesniffer-standard type, eliminating manual path configuration. Laravel projects using standard Composer workflows will experience near-zero friction during implementation.

Technical risk: Moderate. Key risks include:

  • Composer 2.2+ requirement (Laravel 8+ meets this; Laravel 7 or older requires Composer upgrade first)
  • CI environment must explicitly allow plugin execution (via composer config allow-plugins... true)
  • Potential namespace conflicts if global plugin installation overrides project-specific version (rare in Laravel projects but possible in monorepos)
  • PHP version compatibility issues if project uses unsupported PHP versions (plugin supports 5.4+ but Laravel 9+ requires PHP 8.0+)

Key questions:

  • What is the current Composer version in use? (Must be >=2.2)
  • Are there existing manual installed_paths configurations in phpcs.xml that might conflict?
  • How are CI environments currently handling plugin
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