Laravel 8 Authentication : Using Laravel UI (Without Jetstream)

preview_player
Показать описание
How to use old laravel new project-name --auth in Laravel 8 Step by Step

If you want to upgrade your application to Laravel 8 from the previous version, then you don't need to replace the code of your authentication instead you just update the package to " laravel/ui to ^3.0 " and follow the upgrade instructions given in the below link

Steps
1) Upgrade the Laravel installer to version 4
you can check using the command: laravel -v
for upgrading to the latest version: composer global update laravel/installer

2) Install a new Laravel 8 application using the laravel command: laravel new project-name

3)Install Laravel UI package using: composer require laravel/ui
if you are upgrading from the previous version

guzzlehttp/guzzle to ^7.0.1
facade/ignition to ^2.3.6
laravel/framework to ^8.0
laravel/ui to ^3.0
nunomaduro/collision to ^5.0
phpunit/phpunit to ^9.0

4) Run the following command to generate authentication scaffolding:npm install && npm run dev

5) Goto the .env file of your application and setup the database

6) Next, apply migration using the command: php artisan migrate

7)Start the development server: php artisan serve

Node Installation
Рекомендации по теме
Комментарии
Автор

Thanks for tips and please make a tutorial on login for Admin and Users separately and connecting with MySQL Database

anupkaushik
Автор

very good sir.... it was helpful for me ... Thanks!!!!

RajeshKumar-sqji
Автор

Excelent, easy and practic, Regards!!

ccsalazar
Автор

Thanks for the video however Im stuck ...
I have this error at the moment id do php artisan migrate "SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = cnz and table_name = migrations and table_type = 'BASE TABLE')"

MiniPinho