A modern full-stack starter template combining the power of Laravel with the beautiful UI components of shadcn/ui and the seamless page transitions of Inertia.js.
- Pre-configured shadcn/ui components
- Inertia.js for seamless SPA experience
- TypeScript support out of the box
- Dark mode ready
- Responsive design
- Fully implemented authentication flow (with email verification!)
- PHP 8.3 or higher
- Composer
- Node.js 18+ and npm/bun
- SQLite (or your preferred database)
- Clone the repository:
git clone https://github.com/Kleppinger/laravel-shadcn-starter.git
cd laravel-shadcn-starter- Install PHP dependencies:
composer install- Install JavaScript dependencies:
npm install
# or using bun (recommended)
bun install - Copy the environment file and generate application key:
copy .env.example .env
php artisan key:generateNotice: In the example,
MAIL_MAILERis set to preview. If you dont want this, please configure a different viewer.
- Run database migrations:
php artisan migrate- Start the Vite and Laravel development server:
composer run devVisit http://localhost:8000 in your browser.
To easily disable/enable mail verification, just change the setting in config/template.php:
<?php
return [
'enable_verification' => true,
];Add new shadcn/ui components using the CLI:
npx shadcn@latest add button
npx shadcn@latest add card
# etc.Format your PHP code with Laravel Pint:
vendor/bin/pintphp artisan testContributions are welcome! Please feel free to submit a Pull Request.
This project is open-sourced software licensed under the MIT license.
- Laravel - The PHP Framework
- Inertia.js - The Modern Monolith
- shadcn/ui - Beautiful UI Components
- Tailwind CSS - Utility-First CSS Framework



