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.
Run the following composer command to install this package:
composer require laravel/breeze --dev
After installation, run the following command to publish Breeze scaffolding:
php artisan breeze:install
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
password_resets, and so on in the application’s database.
Now it is ready, try the application in your browser.
Top comments (0)