composer install laravel installer code example Example: insall laravel composer global require laravel/installer laravel new blog