Laravel CSV Package is a package created on top of the Laravel livewire package, and it handles importing thousands of records without any issues. You can install the package via composer: composer require coderflex/laravel-csv You can publish and run the migrations with: php artisan vendor:publish --tag="csv-migrations" php artisan migrate
CSV Importer Component Using this package is really simple, all you need to do is implement the component inside your desired file.
If you are using this package in a https://tallstack.dev/ Stack project, (Tailwindcss, Alpinejs, Laravel, Livewire) All you need to do is publish the vendor views php artisan vendor:publish --tag="csv-views"