I want to do a whole set of laravel, so here is the Laravel in the Windows installation process to explain it.
I'm not going to 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. All the way next can be installed.
We can also install it through the Windows command-line tool.
-"readfile(‘https://getcomposer.org/installer‘);"| php
It is important to note that if your PHP does not open the OpenSSL extension, it is best to turn it on. Or try to change HTTPS to HTTP.
Of course, the premise is that your computer has already installed PHP, such as the installation of XAMPP or Wamp.
Just enter PHP in the command line without an error.
After the installation is complete, let's try it. Enter composer directly in the command line,
If composer command-line help appears, the installation succeeds.
Why do we install the composer Package Manager? Because the Laravel downloaded on the official website is not with the Vender directory.
In fact, vender storage is our Laravel framework of the dependency package laravel/framework. These things can be passed on to our
Downloaded on the Packagelist website.
Here we proceed to install the laravel. There are many ways to install Laravel. You can download it via git clone
We can also download it on the official website of Laravel. Or we can go directly to GitHub to search for Laravel open source code, and then click on the downloaded ZIP package, unzip is also possible. Here I go directly to the official website to download.
After the download is complete, unzip to the more directory of our server.
I'm using XAMPP. So I put the Laravel folder in our Htdoc directory.
The command-line tool is then entered into the Laravel directory. Mine is: T:\xampp\htdoc\laravel
Then enter the command composer install
The installation of our vender can be done automatically at this time. About composer, as I have described 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 are worth doing well.
Best Wishes.