spatie/laravel-stubs
Opinionated Laravel stub templates from Spatie. Publish customized stubs for migrations, controllers, and models: no down() in migrations, controllers don’t extend a base, no guarded attributes, more return types, fewer docblocks.
down() migrations, avoiding base controllers, or guarded attributes), reducing onboarding time for new developers.Adopt if:
down() migrations, explicit return types).Look elsewhere if:
down() migrations, specific base controllers).For Executives:
"This package standardizes Laravel code generation with modern best practices—saving our team time on boilerplate while ensuring consistency. By adopting opinionated stubs (e.g., no down() migrations, explicit return types), we’ll accelerate development velocity and reduce onboarding friction for new hires. It’s a low-risk, high-reward way to align with Laravel’s evolution without reinventing the wheel."
For Engineering: *"Spatie’s Laravel stubs give us a clean, opinionated starting point for migrations, models, and controllers—aligned with Laravel 8+ conventions. Key benefits:
down() migrations or base controllers.How can I help you explore Laravel packages today?