Install LaravelDesign in three commands
·
by Shane Barron
·
1 min read
Prerequisites
Laravel 11 or 12. Filament 3 installed and a panel configured. PHP 8.2+. That's it.
Install
composer require mrshanebarron/laraveldesign
Run the install command
php artisan laraveldesign:install
This publishes the config and migrations, runs the migrations, creates the storage link, and seeds a header and footer menu.
Register the plugin with your Filament panel
use MrShaneBarron\LaravelDesign\Filament\LaravelDesignPlugin;
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugins([
LaravelDesignPlugin::make(),
]);
}
Ship it
Visit /admin to see six new resources in the sidebar. Visit /blog to see the blog index auto-registered. Create a page, save it, and visit /your-page-slug to see it live.
Three commands. Done.