As of August 2024, Splade is no longer actively maintained. Though we will try to keep up with future Laravel and PHP versions, we discourage using Splade in new projects.

After a period of reflection, we've come full circle and decided to bring the magic of Splade back to Inertia, where it all started. Please check out this new chapter in our journey: Inertia UI.

Automatic Installation

A fresh Laravel application is an ideal way to get started with Splade. The package provides a convenient Artisan command, which installs Tailwind CSS 3.0 and Vue 3.0 on the frontend. On the backend, it installs a Route Middleware, an Exception Handler, and it prepares a default view and its route.

laravel new example-app
 
cd example-app
 
composer require protonemedia/laravel-splade
 
php artisan splade:install

The splade:install command will also build the frontend assets. Just like regular Laravel applications, you may run the Vite development server:

npm run dev