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

Rector Config Laravel Package

eliashaeussler/rector-config

Opinionated, reusable Rector configuration for PHP/Laravel projects. Provides curated rule sets and sensible defaults to quickly add automated refactoring and code upgrades, with easy integration into existing Rector setups.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: This package serves as a Rector configuration layer, which is a developer tool rather than application code. It integrates cleanly into CI/CD pipelines as a standalone CLI tool, making it suitable for Laravel projects where consistent code standards and upgrades are needed without altering core architecture. However, Rector itself operates outside the application runtime, so there's no direct impact on production systems.
Integration feasibility: High for Composer-based projects. Installation is straightforward via composer require eliashaeussler/rector-config, and the package provides a preconfigured rector.php template. However, the "unknown" repository and minimal stars (3) raise concerns about documentation quality and community validation. Compatibility with current Rector versions (v1.0+) is unverified.
Technical risk: Critical. The 2025-12-04 release date is invalid (future-dated), suggesting data inaccuracies or abandoned maintenance. GPL-3.0 licensing may conflict with proprietary codebases. Low adoption (3 stars) and lack of verified Laravel-specific rule testing increase risk of outdated or incompatible refactorings.
Key questions:

  • Is this package actively maintained? What is the commit history frequency?
  • Does it support Laravel 10+ and PHP 8.2+?
  • How does the GPL-3.0 license impact internal use or commercial projects?
  • Are there documented real-world use cases with Laravel?

Integration Approach

Stack fit: Rector is inherently compatible with Laravel as a PHP tool, but this specific package lacks clear Laravel-specific optimizations in its description. It would require validation against Laravel's conventions (e.g., service container, Eloquent patterns) to ensure rules align with framework expectations.
Migration path: Start with a dry-run in a non-production branch using vendor/bin/rector process --dry-run. Gradually apply changes incrementally, prioritizing non-critical files. Use project-specific overrides to extend the base config for Laravel-specific needs (e.g., config/rector.php extending the package’s config).
Compatibility: Must verify Rector version compatibility (e.g., if the package targets Rector v0.19 but the team uses v1.0). PHP version constraints (e.g., PHP 8.1+?) and Laravel version alignment (e.g., Laravel 9/10) need explicit confirmation.
Sequencing: Integrate into CI after unit tests but before

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