create new laravel project in version 5.8 code example Example: install laravel 5.8 composer create-project --prefer-dist laravel/laravel blog "5.8.*"