how we can install composer in laravel code example
Example 1: laravel install by composer
composer create-project --prefer-dist laravel/laravel blog
cd example-app
php artisan serve
Example 2: how to install laravel
composer global require "laravel/installer=~1.1"