How to install Laravel via Laravel Installer on Windows?

前端 未结 7 797
故里飘歌
故里飘歌 2020-12-12 11:25

I’m trying to install the Laravel Framework on Windows with the Laravel Installer method.

In the documentation I found the following:

相关标签:
7条回答
  • 2020-12-12 12:00

    Installing Laravel framework on window via Laravel installer:

    1. make sure you have composer on your computer.
    2. download the Laravel installer using Composer by typing following code in the command prompt:

    composer global require "laravel/installer=~1.1"

    1. go to folder:

    C:\Users\ {User Name} \AppData\Roaming\Composer\vendor

    1. copy the vendor folder and paste it into the folder (Destination folder) where you want to install Laravel project; for example, in folder D:\Test\Laravel.

    2. after pasting, your folder structure look like this: D:\Test\Laravel\vendor

    3. pressing down on Shift key and Right click on the folder vendor in your destination folder (D:\Test\Laravel\vendor), and choose "open command window here".

    4. enter the command below:

      laravel new your_project_destination

    5. after the command runs, you will see laravel folder in your_project_destination

    0 讨论(0)
提交回复
热议问题