Transcript for:
Panduan Menginstal Laravel di Windows

Hello guys, welcome to Amit thinks in this video we will learn how to install Laravel on Windows. Laravel is a PHP framework to create complex web applications. So to install Laravel first install PHP then install composer. So let's see first how to install PHP and composer then we will install the Laravel framework. Let's start first go to the web browser. we are using chrome you can use any web browser on google search type php press enter on pressing enter the official website is visible php.net click on it so here it is you can see 8.2 is visible it is released okay now i'll directly click on downloads from here now you can see is visible we want for windows so i'll click on windows downloads from here now Now the downloads page is visible. It is having non thread save as well as thread save versions. Always go for the thread save version. So I'll just go for the thread save and click on the zip file because it's for x64 that is 64 bit windows. Click on the zip file. Download will start for zip file. Here it is only 30 MB. Let's wait. It's written win 32 but hardly matters. It is it works for 64 bit windows. So we have downloaded the zip file. right click and click on show in folder. Here it is. Now what I'll do I'll, I'll just right click. After right clicking, I'll just extracted. Okay, extracted. We have extracted it, I'll right click and rename it. Here it is renamed. I'll just change it to an easier one that is PHP That's it. So I'll when I'll double click here is our files, what I'll do, I'll just right click and copy this, copy this, that's it. Now, go to C drive. Here it is we have reached the drive section C drive, click on program files, and right click and paste the same file, click on paste. Continue allow it because it's it's an admin drive. Here it is. Double click and these are our files. Okay, what I'll do I'll just right click and copy this path. This is what you need to do to set the path minimize. Now I'll go to start I'll type environment variables. Here it is. Edit the system and variables click on Open System Properties Advanced tab, click on environment variables. here it is under system variables go to path section the following path variable double click click on new and right click and paste the same path which we just copied for php here here it is that's it click on ok ok and the last ok to apply it that's it go to start type cmd click on open here it is php php space hyphen fn version and press enter here and you can see PHP that means we successfully installed PHP on Windows. Guys we successfully installed PHP on our system. Now let us install composer and link them. Composer is a package manager for PHP. So go to the web browser. I'm using Chrome you can use any web browser type composer, press Enter. on pressing enter open the website get composer dot org here in directly click on download now click on windows installer composer hyphen setup dot exe this will download the setup downloaded the exe file double click on it to install after minimizing select install for all users installation options click next here in it automatically detected our php path we have installed php here if you remember okay here it is see program files type p here it is php and here is the exe file php.exe so this is the path if you can check it here same path Okay, which is fine. Click Next. Leave it. Leave the proxy settings. Click Next. Now the ready to install section click install the summary is visible. Click Next and click Finish. Now go to start type cmd click on open to open it now type composer to verify the installation let's see what is visible press enter the following is visible that means we successfully installed php composer on windows guys we successfully installed php and composer Now, we will install Laravel for that, let's say I'll create a project folder here, new folder, I created this folder, double click under that creator first tab folder, first type and I have let's say. open open it right click open in terminal minimize now type composer global space required to install global to install Laravel globally Laravel slash installer command and press enter we will create a new app laravel new demo hyphen app demo hyphen app and press enter Now guys, we have built the app, go to the folder, go to first app. On the demo app, you can see all the files are visible. Herein you can check the controller files also. Now we need to run the server. For that, we need to go inside the app that is cd space. demo hyphen app that is inside our app. Here it is. We are now going inside here. Okay, now I'll just type to reach inside it. Now I'll just run the server PHP artisan. So this will start the in build PHP server, press Enter. Now the server started running, you can click here to verify or copy this. I type Ctrl C, Ctrl V and press Enter. So you can see Laravel server started. So guys in this video we saw how we can easily download and how we can install Laravel and create a first demo app. After that we also run the server. Thank you for watching the video.