Laravel 8 x authentication and configurations | Laravel Tutorial

Опубликовано: 01 Октябрь 2024
на канале: it Tips
104
4

In this session we will learn Laravel authentication process using latest version 8.x.
To enable Laravel default authentication we have required Laravel UI library. For this purpose
following commands are executed in sequence.
1. composer require laravel/ui
2. php artisan ui vue --auth

Laravel authentication scaffolding also required to install Node Package Manager in current project
folder. This can be done using the following commands.
1. npm install
2. npm run dev

It is important to note that we are installing Laravel 8.x using composer. Composer is a PHP dependency
manager. So before installation of Laravel on our computer/machine we have to ensure that the following
applications are also installed on our computer in the same sequence.
1. XAMPP
2. Composer
3. NPM

In last we will migrate the user migrations for saving user data in database.
After competing this Laravel Tutorial we will be able to register new user and use login functionality.