installation laravel 8 code example Example: install laravel 5.8 composer create-project --prefer-dist laravel/laravel blog "5.8.*"