
How to install Auth in Laravel 10; As we now Laravel new version is released so in thins tutorial we will see how to install Auth in Laravel 10 project. We will install Breeze Scaffolding.
We will discus everything in step-by-step to install Auth in Laravel 10.
Project creating
Composer create-project Laravel/Laravel LaraAuth
Or
Laravel new LaraAuth
Breeze Installing
So in this step we will see the installation of breeze. Run the given command to install breeze.
composer require laravel/breeze
php artisan breeze:install
npm install && npm run dev
Migration
So create a database and update .env file.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laraauth
DB_USERNAME=root
DB_PASSWORD=
Run the given command to migrate.
Php artisan migrate
No Comments Yet.