Installing specific laravel version with composer create-project

后端 未结 7 1179
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-28 03:23

The fastest and simplest way of installing Laravel is via composer command. From the laravel docs (http://laravel.com/docs/quick), it shows that we can install it with this:

7条回答
  •  暖寄归人
    2020-11-28 04:05

    Installing specific laravel version with composer create-project

    composer global require laravel/installer

    Then, if you want install specific version then just edit version values "6." , "5.8."

    composer create-project --prefer-dist laravel/laravel Projectname "6.*"

    Run Local Development Server

    php artisan serve

提交回复
热议问题