composer require laravel/ui error laravel 5.4 code example Example: composer require laravel/ui for laravel 6 composer require laravel/ui="1.*" --dev