0

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 version 4 for now. Is there any way i can do to install the version 4 and not 4.1 through composer? I'm asking that because version 4.1 is downloaded automatically whenever i run composer create-project laravel/laravel --pref destination in my terminal

2 Answers 2

5

You can specify version number after your destination

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

Composer documentation here

Sign up to request clarification or add additional context in comments.

Comments

1

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.*

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.