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

bpocallaghan/generators

A Laravel package by Ben Plummer that extends Artisan's built-in generators, adding commands to quickly scaffold models, controllers, requests, migrations, seeders, and more with sensible defaults.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Standardizing scaffolding across the engineering org. The package's publishable stubs let a team codify conventions (repository pattern, form requests, DTOs, service classes, custom namespaces) directly into artisan make:* output — every new file lands in the right shape by default instead of relying on code review to enforce structure.
  • Build vs. buy on internal tooling. Rather than maintaining a bespoke generator repo, a PM can adopt this as a thin, MIT-licensed base layer and customize the stubs locally. That converts "we should build scaffolding tooling" into a low-effort, forkable commodity decision.
  • Onboarding and DX investments. New hires get correct project structure from their first make:model — this is a lever on ramp-up time, PR review churn, and architectural drift, especially as teams grow.
  • Architecture migrations. When moving a Laravel monolith toward modular/layered boundaries (services, repositories, actions), custom stubs are a practical way to make the new pattern the path of least resistance.
  • Roadmap input: relevant if the roadmap includes team scaling, multi-project standardization, or a code-consistency initiative. Not relevant to product-facing features — this is developer-productivity infra.
  • Framework-level choice: whether the team treats generator tooling as a first-class repo asset (versioned, reviewed, shared) versus each developer's local habit.

When to Consider This Package

Consider it when:

  • You run Laravel with more than a handful of engineers and have conventions worth codifying (custom directory layouts, layered architecture, house-style controllers/models).
  • You want per-project or per-org customization of generated files without writing and maintaining generator commands from scratch.
  • You already lean on artisan make and want richer or opinionated variants (services, repositories, traits, etc.) with publishable, review-friendly stubs.
  • You want MIT licensing, no runtime dependency on a vendor, and the ability to fork the stubs wholesale if the upstream project stalls.

Look elsewhere when:

  • You are a solo developer or a very small team — Laravel's built-in generators plus a short style guide are usually sufficient, and adding a dependency is net negative.
  • You are not on Laravel, or you are on a Laravel version/structure this package's last release (April 2024) does not cleanly support — verify stub compatibility, particularly around newer Laravel application skeleton conventions, before committing.
  • You need generation logic that is genuinely bespoke (AST-aware refactors, cross-file edits, schema-driven codegen). Published stubs will not cover that; budget for in-house tooling instead.
  • Maintainer risk is unacceptable in your context: ~120 stars and a single-maintainer footprint mean you should plan to fork and vendor the stubs if you depend on it long term.
  • Adjacent tooling already covers the same ground in your stack (existing internal boilerplate repos, IDE templates, or CI-enforced architecture checks) — avoid duplicate sources of truth.

How to Pitch It (Stakeholders)

For executives: This is a small, MIT-licensed Laravel package that lets us standardize how new code is scaffolded. The business value is developer throughput and consistency: less time spent on boilerplate, fewer review cycles spent correcting file structure, and faster ramp-up for new engineers. Cost is negligible (open source, no vendor lock-in, stubs are fully publishable and customizable), and the risk is low and reversible — it is a developer tool, not a runtime dependency, and can be removed or forked at any time.

For engineering leads: This gives us a maintained base for opinionated artisan make:* generators with configurable, publishable stubs — meaning we encode house conventions once and every generated file matches them. It slots next to Laravel's native generators rather than replacing them, so adoption is incremental and per-command. Two caveats worth flagging before we standardize: it is a small project (~120 stars, single maintainer, last release April 2024), so we should validate against our target Laravel version and be prepared to vendor the stubs if upstream slows; and it only pays off if we actually have conventions worth enforcing — so pair adoption with a short style guide, not as a substitute for one.

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