laravel 5.4 to 7 code example Example: laravel 5.7 composer create-project --prefer-dist laravel/laravel blog "5.7.*"