Installing specific laravel 5 version with composer create-project

前端 未结 3 963
情深已故
情深已故 2021-02-06 08:09

Today I try to install specific laravel version with composer create-project laravel/laravel=5.1.8 your-project-name --prefer-dist, because some of the plugins have

3条回答
  •  离开以前
    2021-02-06 08:56

    A simple answer i can think of is

    composer create-project laravel/laravel  "5.1.*"
    

    Just replace < app name > with your application name and you'll install laravel's 5.1 distribution.

提交回复
热议问题