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
- Open the XAMPP download page. Go to https://www.apachefriends.org/download.html in your computer’s web browser.
- Here You’ll find versions of xampp near the bottom of the list of downloads. Download as per your system configuration.
- Open the XAMPP setup file. Double-click the downloaded setup file to do so.
- Follow normal installation instructions and click Finish to complete the installation.
Installing Composer
- Open the Composer website. Go to https://getcomposer.org/download/ in your computer browser.
- Here You’ll find versions of the composer. Download as per your system configuration.
- 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.
- Here You’ll find versions of Node.js near the bottom of the list of downloads. Download as per your system configuration.
- Open the Node.js setup file. Double-click the downloaded setup file to do so.
- Follow normal installation instructions and click Finish to complete the installation.
Installing the latest laravel package
- Goto C:\Xampp\htdocs
- Shift + Right Click to Open Command prompt here
- In Command prompt type (composer global require laravel/installer) and press ↵ Enter.
- 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.