laravel 5.3 to 7 code example
Example 1: laravel 5.7
composer create-project --prefer-dist laravel/laravel blog "5.7.*"
Example 2: laravel 7 upgrade
$>which composer
/usr/local/bin/composer
$>php -d memory_limit=512M /usr/local/bin/composer update
...