Overview
Laravel Breeze - SvelteKit Edition is an implementation of the Laravel Breeze application/authentication starter kit frontend in SvelteKit. It provides all the authentication boilerplate code using Laravel Sanctum, allowing developers to quickly pair their SvelteKit frontend with a powerful Laravel backend.
Features
- SvelteKit implementation of the Laravel Breeze application
- Authentication boilerplate code already written
- Powered by Laravel Sanctum for secure authentication
- Allows for easy pairing of SvelteKit frontend with Laravel backend
- Seamless integration with Laravel Breeze backend
Installation
To install Laravel Breeze - SvelteKit Edition, follow these steps:
Create a SvelteKit compatible Laravel backend by installing Laravel Breeze into a fresh Laravel application and installing Breeze’s API scaffolding.
Set the
APP_URLandFRONTEND_URLenvironment variables in your application’s.envfile. Make sureAPP_URLis set tohttp://localhost:8000andFRONTEND_URLis set tohttp://localhost:3000.Serve the Laravel application using the
serveArtisan command.Clone the repository and install its dependencies using
yarn installornpm install.Copy the
.env.examplefile to.env.localand provide the URL of your backend.Run the application using
npm run dev. The application will be available athttp://localhost:3000.
Summary
Laravel Breeze - SvelteKit Edition is a SvelteKit implementation of the Laravel Breeze application/authentication starter kit frontend. It provides all the necessary authentication boilerplate code, powered by Laravel Sanctum, to easily pair with a Laravel backend. The installation process is straightforward and allows for seamless integration with a Laravel Breeze backend.