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