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

Laravel Entity Generator Laravel Package

ronasit/laravel-entity-generator

Generate Laravel entities from a single schema definition, scaffolding models, migrations, controllers, routes, and more so you can skip repetitive boilerplate and keep generated code consistent across your application.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for CRUD scaffolding: This package is a candidate substitute for the hand-rolled "make a model, migration, controller, requests, resource, routes" ritual that consumes days of engineering time per entity across an org. The decision it informs is whether to standardize scaffolding on an OSS package versus maintaining an internal generator.
  • Feature and roadmap sequencing for internal tooling: If admin panels, back-office CRUD, and internal APIs dominate the backlog, entity generation compresses delivery time on low-differentiation work and frees capacity for customer-facing features. If most roadmap items are novel domain logic, the payoff is small.
  • Developer-experience investment: Codegen quality is a retention and onboarding lever. A generator that reliably produces consistent, reviewable code lowers the ramp for new hires and reduces reviewer nitpicks.
  • Convention standardization: Adopting a single generator forces a house style for models, validation, and controllers — a governance decision as much as a technical one.
  • Release 4.1.3 specifically: Two bugfixes (entity generation with "method C" alongside --only-entity, and correctly skipping default CRUD method generation when --only-entity is set) tell you the granular --only-entity escape hatch is now trustworthy. That matters for teams that want generated scaffolding minus opinionated CRUD — i.e., partial adoption without fighting the tool. It also confirms active maintenance: a credible signal for a build-vs-buy call, though not a reason on its own to adopt.

When to Consider This Package

Adopt when:

  • The project is a standard Laravel app following Laravel conventions (Eloquent models, resource controllers, form requests) — the generator's assumptions will match your architecture.
  • You have a schema-first workflow, or a large number of entities with similar shapes (catalogs, lookups, join tables, admin resources).
  • You want scaffolding as a starting point that engineers then edit, rather than a permanently regenerated source of truth.
  • You need partial generation — the --only-entity fixes in 4.1.3 make it viable to generate the entity layer while hand-writing CRUD, which suits teams with custom controller patterns.
  • You value a maintainer who ships small, targeted fixes; low churn is fine for a dev-time tool.

Look elsewhere when:

  • Your architecture is non-standard (DDD, hexagonal, CQRS, event-sourced). Generated resource controllers and form requests will mostly be discarded.
  • You need continuous regeneration with drift detection as a hard guarantee — a tool with a broader feature roadmap (e.g., Blueprint-style schema DSLs) or a paid generator with support commitments may be safer.
  • Entities are few and bespoke; native artisan make:* commands are already sufficient and add zero dependency surface.
  • You require an audited support path or SLA. This is a community package; bugfixes arrive on maintainer time.
  • The team would treat generated code as authoritative and never review it — generation then becomes a consistency risk rather than an accelerator.

How to Pitch It (Stakeholders)

To executives: A small, actively maintained open-source Laravel package that automates the repetitive boilerplate behind internal CRUD screens and admin tooling. It is a developer-productivity lever, not a runtime dependency — it runs at build time and can be removed without touching production behavior, so the downside risk is close to zero. The 4.1.3 release is a maintenance patch, not a capability change; it signals the project is being looked after. Recommend a time-boxed pilot on one internal CRUD surface and measure hours saved per entity.

To engineering: Generation is driven from a schema/config and produces models, migrations, controllers, requests, and routes in the project's own conventions. The 4.1.3 fixes tighten the --only-entity flag: entity generation now works correctly with the alternate "method C" strategy, and default CRUD methods are properly skipped when that flag is set — so you can take the entity layer and keep your own controller logic without cleanup. No breaking changes, no deprecations, no new dependencies. Recommend pinning the minor version, running it as a dev dependency, and reviewing generated output in PRs like any other code.

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.
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
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console