Weave 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 Generator Laravel Package

rector/rector-generator

Rector Generator scaffolds custom Rector rules from templates, helping you create PHP refactoring and upgrade automation faster with ready-made rule classes and supporting files.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Platform modernization planning: Use custom Rector rules to automate Laravel/PHP upgrade refactors, reducing manual engineering effort for framework and language-version migrations.
  • Build vs. buy for internal codemods: Evaluate whether to generate small, project-specific Rector rules versus building a bespoke refactoring tool or paying for one-off migration work.
  • Technical-debt reduction roadmap: Turn recurring code-quality fixes—deprecated APIs, legacy patterns, namespace changes—into repeatable automated rules.
  • Engineering productivity investment: Support decisions on internal tooling that shortens upgrade cycles and standardizes migrations across multiple Laravel services.
  • Adoption risk assessment: This package is marked deprecated and has no visible adoption signals, so it should inform a “do not depend strategically” decision rather than a platform commitment.
  • Use cases: one-off major-version upgrades, proof-of-concept codemods, internal migration accelerators, and reference material for teams building their own Rector rule generators.

When to Consider This Package

  • Consider it only for internal, time-boxed migration experiments where generating Rector rules quickly is useful and the team can vendor or fork the code.
  • It may fit when the organization already uses Rector and has engineering capacity to own unsupported tooling.
  • It is reasonable for exploratory prototyping: validate whether generated rules can automate a specific Laravel/PHP refactor before investing in a maintained solution.
  • Look elsewhere if the package would become a production dependency, require long-term support, or be used by teams without Rector expertise.
  • Avoid it for strategic platform tooling because it is deprecated, has zero dependents/stars, and carries maintenance, security, and compatibility risk.
  • Prefer maintained alternatives or an internal wrapper when the need is ongoing, multi-repo, or part of a repeatable upgrade pipeline.

How to Pitch It (Stakeholders)

Executive summary: This is a deprecated, low-adoption CLI utility for generating Rector rules. It is not a strategic dependency, but it can inform a low-cost experiment to automate Laravel/PHP upgrade work. The business case is faster migrations and less manual refactoring, not adopting the package itself. Approve only a small, engineering-led proof of concept with an explicit exit plan; do not fund it as platform infrastructure.

Engineering summary: Use it as a reference or temporary accelerator for writing project-specific Rector rules, then vendor/fork or replace it with maintained internal tooling. It is best suited to one-off upgrade campaigns and codemod spikes, not long-term production use.

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.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums