bfinlay / laravel-excel-seeder

Seed your database with Laravel using Excel and CSV files
Other
38 stars 8 forks source link

Not Support PHP 8.1 #14

Closed ghost closed 2 years ago

ghost commented 2 years ago

Screenshot 2022-09-11 234724

bfinlay commented 2 years ago

Refer to tests here: https://github.com/bfinlay/laravel-excel-seeder/actions/runs/2678312968

this package is tested and runs using php 8.1 with Laravel 8.x and 9.x; test results for those versions are at the link above.

The issue above is not reporting a conflict with php 8.1. It reports that older versions of php-spreadsheet would require older versions of php and excludes those.

The conflict is the last lines - you have a conflict with psr/simplecache due to your composer.lock file specifying a fixed version due to a partial composer update.

Delete your composer.lock file and run composer again. If you have a similar problem, look for the conflicting package versions and make sure they are not locked to versions that are incompatible with php 8.1; in this case psr/simplecache.

I am closing this issue but feel free to add comments for issues with this package.