How To Make Login And Register System In Laravel Step By Step | Laravel Authentication Tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone this is yamin and welcome back to my another tutorial in this tutorial we are going to see how we can make login and registration in laravel 8 using authentication so let's get started first of all i'm going to create a folder over here and i'm going to name it laravel now let's go inside this folder and over here you can just click shift and right click on your mouse and then go to open partial window here or you can also write over here cmd so i'm going to use cmd and click enter now it will open a command prompt so in order to install laravel uh first of all we need to uh use those command so the first command is laravel new project name laravel new and this part is will be your project name so let's write it laravel new and i will give this project name is uh laravel auth okay let's press enter okay it will take five to ten minutes to install laravel it actually depends on your net speed so i'll just pause the video for now and resume it again when the installation is done okay guys the laravel installation is done so now we have to close this cmd and go to my file i'm in the project directory and over here we have to open the powershell or you can just as well type cmd over here just type cmd and press enter again now we will type a php rtson serve press enter okay let's copy it and go to our browser and paste it over here press enter okay this is our laravel project but as you can see there is no login and registration option so now we'll do the authentication part so our laravel and installation is done so now we will create a database so for creating database uh we'll go to our phpmyadmin okay make sure your jump is on otherwise uh it don't come okay this is our pc my admin now in order to create database we need to click new and then over here we need to give our database name let's name it laravel auth 8 and click create and the database created which is this one now there is no table uh inside this database okay now let's open our project in sublime text which was inside f and then laravel and our projectors laravel auth so select folder so this is our project now over here uh we need to change the few things we need to go to dot enb and then go to db database and give our database name our database name was laravel auth 8 8 which is this one laravel 8 so let's save it ctrl s so this part is done now again we have to go to app then providers then app service providers over here we need to make some changes we need to add a a code over here so i already have it over here so i'll just copy it and paste it over here and we need to give online code over here as well which is this one schema default string length only not let's copy and paste it inside function boot okay let's save it ctrl s okay everything is done now we will go to our command prompt again now let's type control c control c okay now now in order to make our registration and login we need to run this line so let's copy it and paste it over here now press enter so now this line will install uh justin in our laravel project and it will take again five to ten minutes so i will pause it again okay our stream is installed so our touch tab is done so our first step is installing liver so i'll just copy it pspartition jsteam install liver and paste it over here control v so this will install liver so i will again pause this video okay guys the live board is installed so now laravel is telling us to execute uh npm install and npm roundup which was our fifth step so let's copy this and run it on our cmd sorry press enter npm install and again it will take some time so i will again pause the video okay guys uh npm is installed now we will run npm round dev command npm rounded let's copy it and we paste it over here to v hit enter now let's pause the video again okay guys npm rundesk is uh also installed now only two things left so we need to write php artisan mygate in order to migrate our database so let's write php rtson my great press enter and our database should be migrated right now okay those are all the migrated tables in our database okay let's go and check our database okay now there are some table over here as you can see so now let's run the command hp rt sun serve okay now let's refresh this page as you can see that there is now a login and registration option now let's check it whether it works or not i just click the register option my laptop is a little bit slow actually so it's taking some time okay in order to register we need to give a name let's make it yummy and then we'll give email address let's say this and a password and one two three four five six seven eight okay let's click register okay we are register and we are now in the dashboard now let's log out and try our login page let's try login okay our user email loss shakiletrate of gmail.com and password was on two three four five six seven eight okay let's click login okay it took us to the dashboard over here so it works perfectly fine so this is how you can log in and make registration in laravel using in level 8 actually it is authentication so thank you very much again for watching this video and please subscribe this channel to get the notification of my future content so thank you very much again for watching this video
Info
Channel: Web Tech Knowledge
Views: 119,460
Rating: undefined out of 5
Keywords: laravel authentication, laravel auth, laravel login, laravel 9 authentication tutorial, authentication in laravel9, laravel login and registration, laravel login tutorial, laravel registration, laravel login and registration authentication, laravel authentication login, laravel register user, laravel authentication using jetstream, how to make login and registration in laravel 9, login and registration using jetstream, laravel jetstream, login and register in laravel 9 jetstream
Id: Ervti0O1wgo
Channel Id: undefined
Length: 11min 4sec (664 seconds)
Published: Tue Jan 12 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.