Laravel 6.0 | Installation | Authentication (artisan make:auth in laravel 6.0)
ฝัง
- เผยแพร่เมื่อ 19 ก.ย. 2024
- Laravel 6 : Installation and Authentication
php artisan make:auth in Laravel 6.0
Hope that you have installed wamp/xamp and Composer
Laravel installation via
1)Laravel Installer
composer global requirere laravel/installer
laravel new blog
2)Composer Create-project command
composer create-project --prefer-dist laravel/laravel blog
lets check current installation
using "php artisan serve"
for checking available commands in php artisan use "php artisan list"
------------------------------------------------------------------------------------
Lets add authentication to it
php artisan make:auth no longer exists in laravel 6
install laravel/ui
composer require laravel/ui
lets check ui commands
laravel ui have vue/react/bootsrap ui packages
php artisan ui bootstrap --auth
or
php artisan ui vue --auth
or
php artisan ui react --auth
Please run "npm install && npm run dev" to compile your fresh scaffolding.
npm is the package manager for node.js platform
npm installed with node js
if already installed check npm -v / node -v
To complete authentication run
php artisan migrate
created db named "blog" (edit .env file and DB_DATABASE key)
Thanks, it's detailed and helpful.
Hello, the video really helped me, trying to log in to Laravel 6 almost 4 days, I'm new to this framework.
me too... can't wait to master it though
you prolly dont care but if you are stoned like me during the covid times then you can stream pretty much all of the new movies on instaflixxer. Have been watching with my gf these days xD
@Marco Davian Yup, I have been watching on InstaFlixxer for since december myself :)
Helpful video
Thanks dear your video very helpful i solve my problem after seeing this video
Dear, when i try to install npm coming the following error.=> C:\xampp\htdocs\lara4>npm install
'npm' is not recognized as an internal or external command,
operable program or batch file.
.....So,what i do ? plz help me. also not have seen GitHub cmd line in my Operating System.
Did you install node?
If yes you can check it using the command npm -v or node -v
Also, check it's added to the environment variables.