1

i have been creating a few Laravel 5.1 and 5.2 projects. Now i wanted to try 5.3.

when installing a new project using

composer create-project laravel/laravel my-new-project

and the project was installed, i noticed this was still a Laravel 5.2 project structure.

How to fix this?

2 Answers 2

3

What version of PHP are you running?

Laravel53 uses php >5.6 Composer will fallback to Laravel52 incase you do not have the correct dependancies.

If this does not solve the problem, you can always run the command as such:

composer create-project laravel/laravel=5.3.0 my-new-project --prefer-dist
Sign up to request clarification or add additional context in comments.

Comments

0

You can also mention the specific version you want by running the following

composer create-project laravel/laravel=5.3 your-project-name --prefer-dist

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.