laravel

How to install Auth in Laravel 10

How-to-install-Auth-in-Laravel-10.png

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

 

 



About author

IMG_8897.png

Muhammad Zubair

My name is Muhammad Zubair. I'm a full-stack developer. I'm a owner of theskillstock.com. I love to write tutorials of PHP, Laravel, Html & css, Javascript, Java and much more with examples.


Comments

No Comments Yet.



Leave a Reply