phfoxer/apigenerate
phfoxer/apigenerate scaffolds RESTful API endpoints for Laravel apps, generating controllers, routes, requests, resources, and docs from your models so you can ship consistent, ready-to-use APIs with far less boilerplate code.
Architecture fit
phfoxer/apigenerate is a development-time scaffolding tool, not a runtime library. It is an Artisan-driven generator that produces Laravel artifacts (controllers, models, requests/resources, routes) from an existing schema or definition. As such it sits beside the application, not inside the request lifecycle — a favorable architectural position, because removal after generation leaves no runtime footprint.Integration Feasibility
Technical risk
$fillable is a real failure mode.Key questions to resolve before any commitment
composer.json, and does it install cleanly on our current and next-upgrade targets?Stack fit
make:model -mcr, competing directly with first-party Artisan generators the team already has. The bar it must clear is "meaningfully better than native scaffolding," which is a higher bar than it appears given Laravel's built-in make:* commands.Migration path
require-dev entry or drop it entirely.Compatibility
Sequencing
require-dev, fork-and-own, or reject and harvest patterns into internal Artisan stubs.Maintenance
Support
Scaling
Failure modes
composer install failures at a future Laravel upgrade, blocking CI for the whole team because a dev dependency is unresolvable.Ramp-up
make:* commands.TPM recommendation Treat as evaluate-and-likely-reject-as-dependency, adopt-as-reference. The 40-star / 0-dependent profile, single maintainer, and two-year release gap make it unsuitable as a standing dev dependency without an owned fork. The defensible path is a short spike to harvest template patterns into internal Artisan stubs or a private fork, capturing the productivity idea while eliminating the maintenance and abandonment risk. Do not let it enter the dependency graph of a production repository without a named internal owner and an explicit ejection plan.
How can I help you explore Laravel packages today?