How to Install Laravel Authentication (auth)

Posted on by

This tutorial helps you in installing the Laravel auth on Windows / MAC.

First of all, you need some software to get started with laravel project : 

  • Xampp
  • Composer
  • Node.js

Installing Xampp

  1. Open the XAMPP download page. Go to https://www.apachefriends.org/download.html in your computer’s web browser.
  2. Here You’ll find versions of xampp near the bottom of the list of downloads. Download as per your system configuration.
  3. Open the XAMPP setup file. Double-click the downloaded setup file to do so.
  4. Follow normal installation instructions and click Finish to complete the installation.

Installing Composer

  1. Open the Composer website. Go to https://getcomposer.org/download/ in your computer browser.
  2. Here You’ll find versions of the composer. Download as per your system configuration.
  3. Follow normal installation instructions and click Finish to complete the installation.

Installing Node

Open the Node download page. 

  • Link for MAC : 

 Go to https://nodejs.org/dist/v12.18.2/node-v12.18.2-x64.msi in your Windows web browser.

  • Link for MAC : 

 Go to https://nodejs.org/dist/v12.18.2/node-v12.18.2.pkg in your Mac web browser.

  1. Here You’ll find versions of Node.js near the bottom of the list of downloads. Download as per your system configuration.
  2. Open the Node.js setup file. Double-click the downloaded setup file to do so.
  3. Follow normal installation instructions and click Finish to complete the installation.

Installing the latest laravel package 

  1. Goto C:\Xampp\htdocs
  2. Shift + Right Click to Open Command prompt here
  3. In Command prompt type (composer global require laravel/installer) and press ↵ Enter.
  4. Laravel will immediately begin to install.

Create new laravel project

  • In Command prompt type (composer require laravel/ui)
  • In Command prompt type (composer create-project –prefer-dist laravel/laravel blog)

Note: Here (blog) is the name of the project you can change it accordingly

Installing Laravel login and signup page (

  • 1st Command ( php artisan ui bootstrap –auth )
  • 2nd Command (npm install && npm run dev)

Final Words

The steps provided by me in this tutorial is easy to perform by any person who is having a basic knowledge of computer. I’m happy to help you to fix that problem.

Comments

Leave a comment

Your email address will not be published.
Required fields are marked *