RomaGilyov / laravel-csv-importer

Flexible and reliable way to import, parse, validate and transform your csv files with laravel
MIT License
16 stars 9 forks source link

Laravel 7 and league/csv 9.8 #7

Open coamw2 opened 2 years ago

coamw2 commented 2 years ago

Can we get a release version that is compatible with laravel 7 and league/csv 9.8

Also further releases that are compatible with laravel 8 and 9 and related packages

KyleWLawrence commented 1 year ago

I've done some rudimentary changes to make it compatible with Laravel 7, 8 & 9 and League/CSV 9.8 (in theory). I haven't done much testing, so I can so far only confirm that I haven't run into any problems on PHP 8.2 with Laravel 9. If you'd like to use it, you can do so by adding this to your project's composer.json:

"repositories": [ { "type": "vcs", "url": "https://github.com/KyleAtDND/laravel-csv-importer" } ]

Then run this command to add it (I named the Branch "laravel-9" because that is what I am using it with I am testing the comparability on myself: composer require rgilyov/laravel-csv-importer:dev-laravel-9

Please note I haven't written any test classes, updated the testing, or even done much testing myself (much less on Laravel 7 or 8, although I don't believe there will be any compatibility problems as it's a very simple package), so by using it, you are helping me test! Give me feedback on any problems you face.