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