How to install Laravel via Laravel Installer on Windows?

前端 未结 7 795
故里飘歌
故里飘歌 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 11:36

    If you have not installed composer on your system get from here.

    You will get this if you have composer on your system installed

    Installing Laravel

    Step 1: Installing Laravel globally.

    Open cmd in Windows and enter this command.

    composer global require "laravel/installer"
    

    This will download the latest version.

    Check by entering the below command.

    Step 2: Creating a new Laravel Project

    Run the below command in cmd, blog is the name of my new project.

    laravel new projectname
    

    That's it. Now you have your new project folder in the directory you have saved.

提交回复
热议问题