Blueprint is an open-source tool for rapidly generating multiple Laravel components from a single, human-readable definition. Blueprint requires a Laravel application running the latest stable release of Laravel, currently Laravel 8.x. You can install Blueprint via composer using the following command: composer require --dev laravel-shift/blueprint

The one you'll use the most is the blueprint:build command to generate the Laravel components: php artisan blueprint:build [draft]

From these simple 20 lines of YAML, Blueprint will generate all of the following Laravel components: A model class for Post complete with fillable, casts, and dates properties, as well as relationships methods.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners