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