Laravel 8 Authentication with Breeze in this tutorial, I will show you how we can setup Laravel 8 Authentication with Breeze.
Laravel 8 breeze auth is simple and lightweight scaffolding.
First of all, you need to follow this step.
Step 1: Install laravel 8 App
Step 2: Database Configuration in .env file
Step 3: Install breeze Auth Scaffolding
Step 4: Run PHP artisan Migrate
Step 5: Install Npm Packages
Step 6: Run Development Server
Step 1: Install laravel 8 App
We need to run command to create Laravel 8 projects.
composer create-project --prefer-dist laravel/laravel laravel-8-authentication-with-breeze
cd laravel-8-authentication-with-breeze
Laravel 8 Botman Chatbot Tutorial: https://therealprogrammer.com/laravel-8-botman-chatbot-tutorial
Step 2 : Connecting App to Database
Next step, we will set the database credentials in the application. Let’s open your project .env file and set the database credentials here.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=botman
DB_USERNAME=root
DB_PASSWORD=root@123
Laravel 8 REST API Authentication with Passport:
Step 3: Install breeze Auth Scaffolding
composer require laravel/breeze --dev
php artisan breeze:install
Laravel 8 Crud with Image Upload Tutorial
Step 4: Run PHP artisan Migrate
php artisan migrate
Step 5: Install Npm Packages
npm install
npm run dev
Step 6: Run Development Server
php artisan serve
http://127.0.0.1:8000/dashboard
http://127.0.0.1:8000/login
http://127.0.0.1:8000/register
Git: https://github.com/siddharth018/laravel-8-authentication-with-breeze.git