how to make a laravel version with particular version of php code example
Example 1: install laravel specific version using composer
composer create-project --prefer-dist laravel/laravel blog "6.*"
Example 2: create new laravel project with specific version
composer create-project laravel/laravel=7.0 my-project-name --prefer-dist