composer require laravel/framework code example Example: laravel 8 install composer global require laravel/installer