install laravel/ui for laravel 8 code example Example: laravel/ui for laravel 7 composer require laravel/ui:^2.4