DEV Community

Ellis
Ellis

Posted on • Updated on

Laravel Breeze - Minimal & Simple Authentication Scaffolding

Laravel Breeze is the official package from the Laravel team that can be utilized to make a simple authentication, much the same as it was utilized to be in the Laravel UI package. There's no implementation to utilize Livewire, Inertia, or whatever else.

Laravel Breeze is controlled by Blade and Tailwind. It publishes authentication controllers and views to your application that can be effectively redone dependent on your own application's necessities.

Installation

Run the following composer command to install this package:

composer require laravel/breeze --dev
Enter fullscreen mode Exit fullscreen mode

After installation, run the following command to publish Breeze scaffolding:

php artisan breeze:install
Enter fullscreen mode Exit fullscreen mode

The next step is to run npm install && npm run dev to build assets of your Laravel application.

Once done, you can migrate the database by running php artisan migrate which will create necessary tables for authentication such as users, password_resets, and so on in the application’s database.

Now it is ready, try the application in your browser.

Reference

Top comments (0)