composer require maatwebsite/excel laravel 8 code example
Example: Maatwebsite\Excel\ install laravel
php artisan vendor:publish --provider="Maatwebsite\Excel\ExcelServiceProvider" --tag=config
php artisan vendor:publish --provider="Maatwebsite\Excel\ExcelServiceProvider" --tag=config