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