Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with php 8.0 #25

Open
manadinho opened this issue Aug 25, 2022 · 6 comments
Open

Not working with php 8.0 #25

manadinho opened this issue Aug 25, 2022 · 6 comments

Comments

@manadinho
Copy link

I am trying to upgrade laravel application from php 7.3 to php 8.0. And I am facing this error.

@worzy
Copy link

worzy commented Aug 25, 2022

Hi @manadinho what error are you seeing? Can you share?

@manadinho
Copy link
Author

Thanks @worzy for the reply. here is what I am seeing in console..
Problem 2
- cyber-duck/laravel-excel is locked to version 2.2.0 and an update of this package was not requested.
- cyber-duck/laravel-excel 2.2.0 requires php ^7.3 -> your php version (8.0.22) does not satisfy that requirement.

@manadinho
Copy link
Author

And if i remove composer.lock than it gives this error:

[InvalidArgumentException]
Package cyber-duck/laravel-excel at version ^2.1 has requirements incompatible with your PHP version, PHP extensions and Composer version:
- cyber-duck/laravel-excel 2.2.0 requires php ^7.3 which does not match your installed version 8.0.22.

@cparello
Copy link

with php8 and laravel 9 i get this error, any ideas?

Importer::make('Csv')->load(storage_path('app') . $reportName)->getCollection();

syntax error, unexpected identifier "reader", expecting variable

@tomastan
Copy link

tomastan commented Sep 7, 2023

Confirming. It does not install on PHP8 and Laravel 9

Problem 2 - cyber-duck/laravel-excel is locked to version 2.2.0 and an update of this package was not requested. - cyber-duck/laravel-excel 2.2.0 requires php ^7.3 -> your php version (8.0.22) does not satisfy that requirement.

@philBrown
Copy link

How about you guys cut a release with this commit in it?

That or deprecate a dead project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants