remg/generator-bundle
REMG Generator Bundle is a Symfony package that speeds up backend development through code generation. It helps scaffold repetitive application code from your existing models, reducing boilerplate and letting teams focus on custom business logic.
Framework mismatch is the headline finding. Despite being scored as a Laravel/PHP package, remg/generator-bundle is a Symfony 3 bundle. It cannot be installed into a Laravel application: it depends on the Symfony kernel, the DI container, SensioGeneratorBundle, Doctrine ORM metadata, and Twig. Any evaluation must start by treating this as "not a direct fit for our stack."
Architecture fit. Code generation is a developer-time concern, not a runtime concern. That is the one genuinely favorable property here: the package would never sit in a request path, never process user data, and never appear in a production dependency graph. Its blast radius is limited to developer machines, CI tooling, and — most importantly — the code it emits, which becomes our code the moment it is committed.
Integration feasibility. As a drop-in dependency: effectively zero for a Laravel codebase, and low even for modern Symfony. As a reference implementation of scaffolding patterns (command structure, template organization, metadata-driven field inference): moderate. The durable value is in the templates and command design, not the shipped code.
Technical risk.
Key questions for the decision gate.
artisan make:*, InfyOm, or internal stubs).Stack fit. None for Laravel. Partial only for legacy Symfony 3 services that are in maintenance mode and not being upgraded. Treat it as incompatible with any greenfield work.
Migration path. Four viable options, in descending order of preference:
artisan make:* plus published stubs, or evaluate Blueprint if schema-first generation is the goal.composer.json; keep it in a separate tooling repo.Compatibility. Expect hard conflicts on PHP version, Symfony components, Doctrine, and Twig. Composer will not resolve alongside a modern Laravel or Symfony 6/7 application. Any trial should happen in a disposable container with a pinned PHP 5.6/7.1-era runtime.
Sequencing.
Maintenance. Zero upstream maintenance — that is the defining constraint. Every fix, every PHP upgrade, every Doctrine change is ours. If we fork, we own a small PHP/Symfony codebase indefinitely. If we reference only, our maintenance burden drops to the internal generator we build, which we would own regardless.
Support. No vendor, no maintainer, no community. With 0 dependents and 25 stars, there is no forum, no issue triage, no Stack Overflow corpus. Institutional knowledge will live with whoever ran the spike — a clear bus-factor exposure. Document the decision and the templates before that person rotates off.
Scaling. Not a runtime scaling concern. It scales (or fails to scale) along the team axis: divergent generator versions produce divergent codebases across squads, which is expensive to reconcile later. If adopted at all, pin the version centrally and enforce it.
Failure modes to plan for.
Ramp-up. Moderate to high. Productive use requires familiarity with Twig templating, Symfony DI, and Doctrine metadata mapping — a different skill set from Laravel conventions. Estimate one to two developers for one to two weeks to reach competence, plus additional time if forking. Weigh that against the ramp-up for native Laravel generators, which is near zero for anyone already on the team.
How can I help you explore Laravel packages today?