majora/generator-bundle
A PHP generator bundle that streamlines scaffolding and code generation for bundle-based projects, helping developers create boilerplate classes, configuration, and CRUD-style structures faster with a repeatable workflow and less manual setup.
Architecture fit: category mismatch, near-zero out-of-the-box fit. The artifact is a Symfony bundle, not a Laravel package. It depends on Symfony\Component\HttpKernel\Bundle\Bundle, bundle registration (AppKernel/config/bundles.php), DI service definitions, and a Configuration tree — none of which exist in a Laravel application. It will not autoload through package discovery, will not register a service provider, and cannot be dropped into a Laravel app. Where it does overlap with Laravel, it is conceptual: it scaffolds entities, forms, and CRUD controllers, which is exactly what artisan make:* plus publishable stubs already do. So the fit is "prior art," not "dependency."
Integration feasibility: the only honest path is a port, not an install. Artisan is built on the Symfony Console component, so the command ergonomics (prompt sequences, option shapes, --no-interaction mode) transplant cleanly. The bundle wiring, template resolution, and Doctrine introspection do not. Effort is low-to-moderate — days, not weeks, because the codebase is small — but that effort is only justified by the value of the generator's opinions (naming rules, field-to-class derivations, folder layout), not by the package itself.
Technical risk: high and largely disqualifying. Archived repository, 2 stars, 0 dependents, overall score ~0.29. Zero downstream validation, no maintainer to accept patches, no security response path, no release cadence. Vintage Symfony 2/3 bundles typically target PHP 5.6–7.x, which places them several majors behind any supported runtime. MIT licensing is permissive and unproblematic, but permission to fork is not a reason to depend.
Key questions for the requester:
artisan make:* plus a house-style stub set does not already cover?Stack fit: none out of the box. Laravel assumes service providers, config/*.php, and container binding semantics; this bundle assumes Symfony's kernel, bundle registration, and YAML/XML service definitions. There is no shim that makes a Symfony bundle a first-class Laravel citizen — anything built here is a rewrite wearing the original's name. Do not attempt to pin a separate Symfony Console version to accommodate it; Artisan's Console is a transitive, Laravel-managed dependency.
Migration path — "harvest, don't adopt":
artisan commands and stubs/ overrides. If the value is only in command plumbing, we already have it for free.make:*-style commands, publishable stubs, and a config file — the same shape as Laravel's own generator commands, which we can crib from directly.Compatibility: assume the source will not run on PHP 8.2+ or current Symfony/Laravel without edits; verify before committing spike time. If the underlying need is Symfony scaffolding specifically, Symfony MakerBundle is the maintained, first-party, redundant-making answer — it covers entities, CRUD controllers, forms, commands, and tests, and ships with the framework's recommended workflow.
Sequencing: do not put this ahead of anything on the critical path. It is a developer-experience nicety with an unmaintained upstream. Slot it as opportunistic backlog work behind a named owner, and only after the spike confirms non-trivial reusable IP.
Maintenance: effectively total from day one. Archived means no upstream fixes, no PHP-version compatibility work done for us, no CVE triage. A fork becomes an internal product with an internal roadmap and needs a named owner or it will rot silently.
Support: none. No community to escalate to (0 dependents, 2 stars), no issue tracker producing answers, no release cadence to align with. Internal engineers become the sole escalation path — including for questions about code none of them wrote.
Scaling: risk does not scale with traffic (this is build-time codegen, not a runtime component) but it does scale with team size and framework upgrades. Every Laravel major that touches stub conventions or console signatures becomes a manual reconciliation task for a package nobody remembers adopting. That cost compounds quietly.
Failure modes to plan for:
Ramp-up: low technical ramp-up (small codebase, familiar Console APIs) but high context ramp-up — a new engineer must first understand why a Symfony bundle exists in a Laravel estate. That documentation burden is the real onboarding cost and must be paid up front in the port's README, or the tool should not exist.
Recommendation: do not adopt as a dependency. Run the half-day harvest spike, port anything genuinely useful into a first-party Artisan-based generator, and keep the dependency graph clean. The opportunity score of ~1.48 and overall score of ~0.29 match the qualitative read: interesting as prior art, unsuitable as infrastructure.
How can I help you explore Laravel packages today?