install laraavel code example Example 1: laravel install composer global require laravel/installer Example 2: laravel 8 install laravel new blog