I want to do a whole set of laravel, so here's how to explain Laravel's installation process in Windows.
I will not say it under Linux.
The first thing we need to do is install our composer Package Manager.
Go to our official website.
Https://getcomposer.org/Composer-Setup.exe
This is our installation package on Windows. You can install it all the way next.
We can also install it through Windows command-line tools.
php -r "readfile('https://getcomposer.org/installer');" php
Note here, if your PHP does not open OpenSSL expansion, it is best to open. Or try to change HTTPS to HTTP.
Of course, the premise is that your computer has been installed PHP, such as the installation of XAMPP or Wamp and so on.
Just enter PHP in the command line without an error.
After the installation is complete, let's try it. Enter composer directly on the command line,
If the composer command-line help appears, the installation succeeds.
Why do we have to install the composer Package Manager? Because the Laravel on the official website is not with vender directory.
In fact vender is stored in our Laravel framework of the dependent package laravel/framework. These things can be passed to our
Download on the Packagelist website.
Here we go to install the laravel. There are many ways to install Laravel. You can download it via git clone
We can also download it from the official website of Laravel. Or we can go directly to the github above search Laravel open source code, and then click on downloading Zip package, decompression is also possible. Here I downloaded it directly to the official website.
After the download is complete, unzip to our server's more directory.
I'm using XAMPP, so I'll put the Laravel folder in our Htdoc directory.
The command line tool is then used to enter the Laravel directory. Mine is: T:\xampp\htdoc\laravel
Then enter the command composer install
At this point, we can automatically install the vender. About composer, I had an introduction in a previous blog post.
Composer--php Package management tool
Once the installation is complete, we can enter it directly in the browser
Localhost/laravel/public can see our laravel welcome interface.
Well, I'm a little tired today. Just write it down here.
Whatever is worth doing is worth doing.
Best Wishes.