Selecting a version of Laravel when installing with composer

后端 未结 2 555
无人共我
无人共我 2021-01-17 04:12

I have seen there is a new version of Laravel- 4.1 with new documentation in the laravel website. Few things have changed , really but i would like to continue using laravel

相关标签:
2条回答
  • 2021-01-17 04:33

    Even better if you add an asterisk after version number (4.2.*): the newest subversion will be installed e.g. 4.2.12 instead of 4.2.0

    composer create-project laravel/laravel project-name --prefer-dist 4.2.*
    
    0 讨论(0)
  • 2021-01-17 04:45

    You can specify version number after your destination

    composer create-project laravel/laravel --prefer-dist 4.0

    Composer documentation here

    0 讨论(0)
提交回复
热议问题