Sometimes you may find that you want to create a new Laravel application but you need to use an older version of Laravel. In order to do that, when you go into Terminal to set up a new project, use the code format below:
composer create-project laravel/laravel="6.*" myLaravel6Project
You can change the “6.*” to be any version.
This is one of my Laravel posts. I’m still learning Laravel so the posts are usually pretty basic and are more aimed at keeping track of things that I find useful so that I can come back to them again at a later date. I hope you find them useful too. If not, or if you think they are wrong then please leave a comment below. Thank you.