create new laravel project in specific version code example Example: create laravel project specific version composer create-project laravel/laravel="5.1.*" appName