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

Generators Laravel Package

way/generators

Way Generators is a Laravel scaffolding package that speeds up development with Artisan commands for creating migrations, models, controllers, seeders, and more. Customize the stubs to match your conventions and skip repetitive boilerplate.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. way/generators is a Laravel 4-era Artisan extension package. It registers a service provider that binds a set of generator commands (generate:model, generate:migration, generate:resource, generate:scaffold, generate:view, generate:seed, etc.) into the L4 Artisan kernel, then writes files into hardcoded app/ paths defined in app/config/.... Architecturally it is a developer-time scaffolding tool, not a runtime dependency — it should never appear in a production execution path. Fit against a modern Laravel codebase (L5 through L11) is effectively zero: command signatures, PSR-4 autoloading, namespace layout, and the app/ directory conventions it assumes were all replaced. Fit against Laravel 4.2 is high but the framework itself has been end-of-life since 2015.

Integration feasibility. Mechanically simple on L4: composer require way/generators, add 'Way\Generators\GeneratorsServiceProvider' to the providers array, run php artisan generate:model Foo. There is no configuration surface, no migrations of its own, no database footprint. On any Laravel 5+ project the integration is not feasible without forking and rewriting the command layer and templates.

Technical risk. This is the dominant finding and it is severe:

Risk Severity Note
Abandoned upstream (last release 2014-10-01) High No fixes for PHP 7/8 incompatibilities
Laravel 4 EOL since 2015 High No security backports for the host framework
PHP 5.4/5.6 runtime requirement High PHP 5 EOL since 2018/2019
0 dependents, 28 stars on this listing Medium Suggests a fork/mirror rather than canonical; supply-chain and metadata hygiene concern
Template output encodes pre-PSR-4 idioms Medium Generated code will not match current standards, silently seeding debt

The star count (28) is materially below what the canonical JeffreyWay/Laravel-4-Generators accrued historically (~2.5k). Treat this listing as a low-confidence mirror and, before anything else, verify provenance and diff against the original before pulling the source into a build.

Key questions for the team.

  1. Do we actually operate a Laravel 4 application in production today, or is this being considered for a greenfield/modern codebase? (If the latter: stop here.)
  2. If L4 is in scope, what is the exit date for that application, and does a scaffolding convenience tool justify another unmaintained Composer dependency?
  3. Is the real interest the generator pattern rather than this implementation — i.e., do we want opinionated scaffolding in our current Laravel version?
  4. Who owns the fork if we need one, and what is our patch SLA against PHP/runtime upgrades?
  5. What does our dependency policy say about packages with no upstream releases in over a decade?

Integration Approach

Stack fit. Only Laravel 4.x on PHP 5.4–5.6 (with community patches, possibly 7.0). Composer-installed, PSR-0/classmap-era autoloading. It will not resolve cleanly against a Laravel 5+ composer.json due to illuminate/support and illuminate/console version constraints, and even if forced, the commands will fail at runtime.

Migration path. Three viable strategic routes, in order of preference:

  1. Do not adopt — use native equivalents. Modern Laravel ships make:model -mfs, make:controller --resource, make:seeder, make:factory, make:request, and make:test out of the box. Combined with laravel-shift/blueprint (YAML-driven multi-file generation) or IDE tooling (Laravel Idea), the capability gap is fully closed with maintained software.
  2. Pattern harvesting, not code adoption. Read the generator command classes and templates as a reference design for an internal scaffolding command set. The value is the opinionated structure (resource → model + migration + controller + views + seeds in one command), which is exactly what L4 lacked natively and what later tooling formalized.
  3. Constrained legacy use. Only inside an existing L4 app, pinned to an exact commit, vendored (not floated via ^), and explicitly excluded from production autoload via require-dev.

Compatibility and sequencing. If route 3 is taken, sequence as: (a) inventory the L4 footprint and confirm no PHP/Framework upgrade is in flight; (b) vendor the package at a pinned SHA and record the provenance diff; (c) generate into a scratch branch and review output before merging, since templates will not reflect current style; (d) set a hard sunset date tied to the application's Laravel upgrade. For routes 1–2, sequence as: confirm target Laravel version → map each generate:* command to its native make:* equivalent (or Blueprint definition) → codify the team's scaffolding defaults as stubs in stubs/ or a blueprint.yaml → deprecate the L4 dependency.

Compatibility caveat. The package's own dependency tree (illuminate/*, symfony/console of that era) is the practical blocker, not the package code itself. Any attempt to install on PHP 8 will surface fatal errors from untyped signatures and removed functions before the commands ever run.

Operational Impact

Maintenance. Upstream maintenance is nil. Any use implies fork ownership: template updates, PHP compatibility patches, and adaptation to code standards. That is a permanent, low-glamour tax on a tool whose entire value is saving a few minutes per file. Cost-benefit does not clear the bar unless the L4 application is large and long-lived.

Support. No vendor, no active issue triage, community knowledge only — and the community has moved on. Onboarding documentation for the package is essentially archival blog posts. Expect internal knowledge to be held by one or two engineers, which is a bus-factor risk disproportionate to the tool's importance.

Scaling. No runtime impact: no queries, no requests, no memory footprint in production. The scaling concern is codebase-level — a generator is a force multiplier for whatever patterns it encodes. Templates frozen in 2014 will propagate pre-PSR-4 structure, missing type declarations, absent factory/test scaffolding, and outdated migration idioms across every new file. Left unbounded, this creates a consistency debt that surfaces at the next framework upgrade as a mass rewrite rather than an incremental one.

Failure modes.

  • Silent misgeneration: commands succeed but emit non-conforming code; caught only in review, and easily rationalized as "the tool did it."
  • Overwrite/collision: interactive prompts guard most writes, but CI or scripted invocation can bypass them.
  • Hard install failure: dependency resolution errors on modern PHP give no partial-functionality fallback.
  • Supply-chain: an unmaintained, low-visibility fork with 0 dependents is a plausible typosquat/mirror vector. Pin and verify.
  • Abandonment drift: the tool keeps working long enough that no one schedules its removal, and it survives three framework upgrades as dead weight.

Ramp-up. Near-zero for an engineer who already knows Laravel 4 — it is a handful of Artisan commands with predictable prompts. Effectively a full rewrite for anyone trained on Laravel 5+, both because the commands differ and because the generated output violates everything they have been taught. Budget a short internal note if any use is sanctioned, and expect that note to be the only documentation that exists.

Recommendation. The opportunity signal (57.9 vs. an overall 14.7) reads as "the capability is worth having; this implementation is not." Do not add way/generators to any maintained codebase. Capture the requirement as scaffolding standards in the current Laravel version — native make:* plus a shared stub set or Blueprint definitions — and reserve this package only as a read-only design reference for teams still trapped on L4.

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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core