jumilla/laravel-source-generator
Adopt (as a fork or vendored reference, not a Composer dependency) when:
make:-style commands — never code paths serving end users.Look elsewhere when:
make: generators and customizable stubs cover far more than teams expect; established PHP code-generation libraries and schema-to-code tools (e.g., Blueprint-style declarative generators, Nette PhpGenerator) are better-supervised options for anything beyond a fork.To executives (one paragraph): We evaluated a small, MIT-licensed PHP source-code generator for internal developer tooling. It is archived with negligible adoption, so the recommendation is not to depend on it in production — instead, treat it as a free reference design we can fork and own, or use to sanity-check our own generator. The business case is velocity: a readable, chainable generator lets us scaffold modules and boilerplate in hours instead of days, and the license lets us absorb the code at zero cost. Risk is bounded because it never ships to customers and we own the fork.
To engineering (one paragraph): The package demonstrates a fluent, method-chain API for emitting PHP source — useful ergonomics for anyone who has maintained a string-template generator. It is archived and effectively unmaintained, so plan on vendoring or forking rather than composer require, and plan on owning every line. Before building, benchmark against Laravel's native make: commands with custom stubs and a maintained codegen library; only proceed to a fork if the fluent-builder pattern clearly beats those for our specific scaffolding workload. If we do proceed, scope it to internal artisan-style tooling with a named owner and no runtime dependency.
How can I help you explore Laravel packages today?