Table of contents
No headings in the article.
Laravel Breeze
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.
Installation
composer require laravel/breeze --dev
php artisan breeze:install vue
npm install
npm run dev
then don't forget to define your database name in the .env file, like this:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=inertia-db
DB_USERNAME=root
DB_PASSWORD=
don't forget to create database with the same name in your mysql, or phpmyadmin. Then run the migrate command to execute the database command:
php artisan migrate
after migrate successfully run, run the command
php artisan serve
you can access the url localhost:8000/login
Try registering your account, then login
Congratulations on this session we have successfully added an authentication feature with Laravel Breeze. See you in the next episode