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 /public
directory entry
Pattern appears as the installation is successful