make a custom project of older laravel version code example
Example 1: create laravel project specific version
composer create-project laravel/laravel="5.1.*" appName
Example 2: create new laravel project with specific version
composer create-project laravel/laravel=7.0 my-project-name --prefer-dist