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

Generator Laravel Package

k3ssen/generator

A Laravel/PHP scaffolding package that generates boilerplate from entity and schema definitions, helping you quickly scaffold models, controllers, and CRUD so you spend less time on repetitive setup and more on application logic.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. Unchanged by v0.1.0. Despite being filed under a Laravel/PHP package request, k3ssen/generator remains a Symfony 4 bundle (GeneratorBundle), not a Laravel package. It targets the Symfony runtime contract: bundle registration in config/bundles.php, Symfony DI container service definitions, Symfony Console commands, Doctrine ORM/entity metadata, and Twig-based stub templates. Laravel's equivalents — service providers, Artisan, Eloquent, and .stub files — are architecturally analogous but not compatible. There is no Laravel service provider, no Artisan command registration, and no Eloquent support. As a direct dependency in a Laravel application it will not boot. The v0.1.0 notes make no claim of framework expansion, Laravel support, or updated Symfony/PHP targets, so the architectural verdict stands.

Integration feasibility. Low as-is, and the new release does not move it. Consuming it would still require a Symfony 4 kernel (or a heavily customized hybrid), pulling in symfony/framework-bundle, symfony/console, doctrine/orm, and twig at Symfony 4.x constraint levels — which collide with Laravel 10/11's Symfony 6/7 component requirements. The realistic paths remain (a) do not adopt, (b) lift the stub templates and generation heuristics as a reference implementation and rebuild as an internal Artisan generator, or (c) run it in a throwaway legacy Symfony container strictly as a one-off scaffolding step. Only (b) has durable value. Note that a v0.1.0 version string signals the maintainer is restarting the version line rather than advancing it — treat any prior release history as effectively superseded and re-verify constraints from scratch rather than assuming continuity.

Technical risk. Still high, with two new wrinkles from the release notes. The package retains a single maintainer and minimal adoption (2 stars, 0 dependents). The release notes assert thorough testing and production use, but name no adopters, publish no test matrix, and are not independently corroborated — zero dependents means no third-party signal exists to validate the claim. More importantly, v0.1.0 is explicitly pre-1.0 and "close to the first major release," which means no backward-compatibility guarantee across the imminent 1.0 boundary: APIs, command signatures, and stub formats may change without a deprecation cycle. Adopting now means adopting a moving target whose next release is expected to be breaking. The score: 0.04 continues to reflect this maturity gap; the opportunity: 4.16 should still be read as evidence of unmet demand for scaffolding generators rather than validation of this artifact.

Key questions.

  • Does v0.1.0 actually change the composer.json PHP/Symfony/Doctrine constraints, or merely add release metadata? (The notes are silent — verify directly.)
  • What does it generate — CRUD controllers, entities, forms, repositories, templates — and is the generated output idiomatic or dated Symfony 3-era style?
  • Does it depend on MakerBundle internals or deprecated SensioGeneratorBundle conventions, and how much of that logic is portable?
  • Are the stub templates cleanly separated from the generator engine (reusable) or coupled to Symfony DI?
  • What is the maintainer's stated scope for the upcoming 1.0 — is Laravel or framework-agnostic support on the roadmap, or is this purely a Symfony bundle stabilization?
  • "Production use" in which applications, and under what PHP/Symfony versions? Without named adopters this is unverifiable marketing, not evidence.
  • Is there a maintained alternative in the Symfony ecosystem (MakerBundle) that makes this redundant, and what does that imply about the gap in the Laravel ecosystem?

Integration Approach

Stack fit. Poor and unchanged. The target stack is Laravel (service providers, Artisan, Eloquent, Blade/stub files); the package is Symfony 4 (bundles, DI, Console, Doctrine, Twig). The conceptual model overlaps — command-driven scaffolding from templates — but no code is shared. Treat the package as a design reference, not a dependency.

Migration path. Recommended sequence: do not attempt a runtime integration. First, read the v0.1.0 composer.json directly to confirm framework/PHP constraints, since the release notes omit them. Then run a short spike in an isolated container to execute the generator against a sample schema, capture the generated artifacts, and evaluate output quality. If the patterns are sound, extract the stub templates and the field-type-to-template mapping rules and reimplement them as Laravel Artisan make:* commands using Laravel's own stub publishing mechanism. If the output is dated or the logic is thin, stop and standardize on Laravel-native tooling plus internal blueprints. Given the announced 1.0 review cycle, do not build anything that assumes the current stub format is stable.

Compatibility. Assume hard incompatibility until proven otherwise: Symfony 4 framework-bundle vs. Laravel's Symfony 6/7 components, PHP 7.x-era constraints vs. PHP 8.1+, Doctrine 2.x vs. Eloquent, and Twig vs. Blade. The v0.1.0 notes contain no compatibility statement, so the prior assumptions must be re-tested, not retired. Any attempt to co-install will produce Composer constraint conflicts or, worse, a resolvable-but-broken dependency graph.

Sequencing.

  1. Week 1 — Read v0.1.0 composer.json and changelog; run the compatibility spike in an isolated Symfony 4 sandbox; document generated output and template structure.
  2. Week 2 — Go/no-go: assess whether the template logic is worth porting versus writing from scratch (typically faster to write from scratch), factoring in the announced pre-1.0 churn.
  3. Weeks 3–5 — If go, build internal Artisan generators with versioned, publishable stubs and a golden-file test suite. Do not track upstream releases.
  4. Week 6 — Deprecate the sandbox; ensure no production path references the upstream package.

Operational Impact

Maintenance. You will own it entirely. Any adopted code becomes a fork with no usable upstream to rebase against — v0.1.0 resets the version line, so there is no stable patch stream and the next release is expected to be breaking. Budget for periodic PHP-version drift remediation on the forked templates and any retained generator logic, plus one re-evaluation pass after the maintainer ships 1.0.

Support. Effectively none. Two stars and zero dependents means no community, no issue triage, no Stack Overflow corpus, and no third-party tutorials. The release note's production-use claim does not substitute for a support channel. Internal documentation must be written from scratch during the spike; do not assume answers exist externally.

Scaling. Code generation is a developer-workstation concern, not a runtime one — there is no production scaling surface. The scaling risk is organizational: divergent scaffolding conventions across teams if the generator is forked per project rather than centrally maintained and version-pinned.

Failure modes.

  • Version churn — the imminent 1.0 changes command signatures or stub formats, invalidating anything built against 0.1.x.
  • Silent bad output — generator emits syntactically valid but semantically wrong code (incorrect Doctrine mappings, missing relations), discovered only at runtime.
  • File clobbering — regeneration overwrites hand-edited files without a merge or dry-run safeguard.
  • Dependency rot — the package pins legacy constraints that block composer update on any modernized host project.
  • Framework drift — the Symfony 4 idioms it produces are unrecognizable to a Laravel team, generating review overhead rather than savings.
  • False confidence from release notes — "tested thoroughly" and "used in production" are unverifiable with zero dependents and no published test matrix; do not let this language relax the technical review.
  • Maintainer disappearance — a single maintainer on a pre-1.0 restart is only marginally better than the prior six-year dormancy.

Ramp-up. For a Symfony-native engineer familiar with MakerBundle, roughly one day to be productive in a sandbox. For a Laravel-only team, expect one to two weeks of context-switching cost before the package yields any insight — likely more than writing Laravel-native generators directly. Net recommendation: do not adopt as a dependency; consider a one-week spike purely to harvest template ideas, re-checking constraints against v0.1.0 specifically, and otherwise treat the 4.16 opportunity score as a signal to invest in first-party Laravel scaffolding tooling.

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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource