Welcome to the Laravel + Svelte Starter Kit! This project is your launchpad for building modern, lightning-fast web apps with the power of Laravel, the magic of Svelte, and the flexibility of Inertia. Whether you're a backend wizard or a frontend artist, this starter kit is designed to make your development experience smooth and productive! The starter kit is also designed to be on par with the official Laravel Starter Kits, providing a solid foundation for your next project.
- Laravel 12: The backend framework you know and love.
- Svelte 5: The next-gen frontend framework for reactive, fast UIs.
- TypeScript: Type-safe code for fewer bugs and more confidence.
- Tailwind CSS: Utility-first styling for rapid prototyping and beautiful designs.
- Inertia: Effortless single-page app experience with classic server-side routing.
- shadcn-svelte: A delightful component library for Svelte, ready to use and customize.
First, ensure you have PHP, Composer and the Laravel Installer installed.
Ready to blast off? Spin up a new project in seconds:
laravel new larasvelte --using=oseughu/svelte-starter-kitWant to try the WorkOS integration branch? Use:
laravel new larasvelte --using=oseughu/svelte-starter-kit:dev-workosWant to use Laravel Wayfinder instead of Ziggy for defining routes and actions on your frontend? Use:
laravel new larasvelte --using=oseughu/svelte-starter-kit:dev-wayfinderJust replace larasvelte with your dream project name!
- SSR: Opt into fully featured Server Side Rendering.
- Authentication: Out-of-the-box Laravel auth, with optional WorkOS integration for enterprise SSO.
- Component Library: Build beautiful UIs fast with shadcn-svelte.
- Hot Reloading: Instant feedback with Vite.
- TypeScript Support: Write robust, maintainable code.
I love contributions! If you have ideas, improvements, or bug fixes, please open an issue or send me a PR. Let's build something awesome together!
This starter kit is open-sourced software licensed under the MIT license.
Feel free to use, remix, and share!
Happy coding! 🎉
Questions, feedback, or memes? Open an issue or join the discussion!