Command line installation laravel

To install the first composer

composer: Composer package management tools
create-project: create project command
laravel/laravel: do not change the package name
laravel-priject: Custom Project Name
--prefer-dist "5.1.*": Priority installed version number

composer create-project laravel/laravel laravel-priject --prefer-dist "5.1.*"

Run the above command installation process will take slightly longer wait!

Direct access to the name of the project to complete installation of the /publicdirectory entry

Pattern appears as the installation is successful
Here Insert Picture Description

Published 156 original articles · won praise 531 · views 110 000 +

Guess you like

Origin blog.csdn.net/qq_39043923/article/details/99861191