To give you a head start building your new Laravel application, we are happy to offer authentication and application starter kits. These kits automatically scaffold your application with the routes, controllers, and views you need to register and authenticate your application's users.
While you are welcome to use these starter kits, they are not required. You are free to build your own application from the ground up by simply installing a fresh copy of Laravel. Either way, we know you will build something great!
Laravel Breeze is a minimal, simple implementation of all of Laravel's authentication features, including login, registration, password reset, email verification, and password confirmation. Laravel Breeze's default view layer is made up of simple Blade templates styled with Tailwind CSS.
Breeze provides a wonderful starting point for beginning a fresh Laravel application and is also great choice for projects that plan to take their Blade templates to the next level with Laravel Livewire.
curl -s https://laravel.build/example-app | bashcd example-appphp artisan migrate
Once you have created a new Laravel application, you may install Laravel Breeze using Composer:
composer require laravel/breeze:1.9.2
After Composer has installed the Laravel Breeze package, you may run the
breeze:install Artisan command. This command publishes the authentication views, routes, controllers, and other resources to your application. Laravel Breeze publishes all of its code to your application so that you have full control and visibility over its features and implementation. After Breeze is installed, you should also compile your assets so that your application's CSS file is available:
php artisan breeze:installnpm installnpm run devphp artisan migrate
Next, you may navigate to your application's
/register URLs in your web browser. All of Breeze's routes are defined within the
Breeze & Inertia
Laravel Breeze also offers an Inertia.js frontend implementation powered by Vue or React. To use an Inertia stack, specify
react as your desired stack when executing the
breeze:install Artisan command:
php artisan breeze:install vue// Or...php artisan breeze:install reactnpm installnpm run devphp artisan migrate
Breeze & Next.js / API
api stack as your desired stack when executing the
breeze:install Artisan command:
php artisan breeze:install apiphp artisan migrate
During installation, Breeze will add a
FRONTEND_URL environment variable to your application's
http://localhost:3000 during local development.
Next.js Reference Implementation
Finally, you are ready to pair this backend with the frontend of your choice. A Next reference implementation of the Breeze frontend is available on GitHub. This frontend is maintained by Laravel and contains the same user interface as the traditional Blade and Inertia stacks provided by Breeze.
While Laravel Breeze provides a simple and minimal starting point for building a Laravel application, Jetstream augments that functionality with more robust features and additional frontend technology stacks. For those brand new to Laravel, we recommend learning the ropes with Laravel Breeze before graduating to Laravel Jetstream.
Jetstream provides a beautifully designed application scaffolding for Laravel and includes login, registration, email verification, two-factor authentication, session management, API support via Laravel Sanctum, and optional team management. Jetstream is designed using Tailwind CSS and offers your choice of Livewire or Inertia.js driven frontend scaffolding.
Complete documentation for installing Laravel Jetstream can be found within the official Jetstream documentation.