install laravel 7 lts code example Example: create laravel 6 project using composer composer create-project --prefer-dist laravel/laravel blog "6.*"