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

[Bug]: cannot install newer versions #4024

Closed
1 task done
falkonerX72 opened this issue Nov 1, 2023 · 3 comments
Closed
1 task done

[Bug]: cannot install newer versions #4024

falkonerX72 opened this issue Nov 1, 2023 · 3 comments
Labels

Comments

@falkonerX72
Copy link

Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?

  • Yes, it's still reproducable

What version of Laravel Excel are you using?

1.1

What version of Laravel are you using?

10

What version of PHP are you using?

8.2

Describe your issue

I cannot install v3.1 excel duo to this errors I get:

after running "why-not maatwebsite/excel v3.1"
laravel/laravel dev-main requires maatwebsite/excel (^1.1)
maatwebsite/excel 3.1.0 requires php (^7.0 but 8.2.0 is installed)
maatwebsite/excel 3.1.0 requires illuminate/support (^5.5)
laravel/laravel dev-main requires laravel/framework (^10.10)

I've enabled all extensions required but I still get php version error is not supported !

How can the issue be reproduced?

.

What should be the expected behaviour?

Installing latest version as I've all requirements.

@falkonerX72 falkonerX72 added the bug label Nov 1, 2023
@patrickbrouwers
Copy link
Member

Try composer require maatwebsite/excel:^3.1 It seems you are trying to install 3.1.0 which doesn't support php8.2

@feryae
Copy link

feryae commented Nov 2, 2023

Try composer require maatwebsite/excel:^3.1 It seems you are trying to install 3.1.0 which doesn't support php8.2

I have a similar problem, solved it by running composer require maatwebsite/excel:^3.1.49,I don't know if its ok to do, though.

@patrickbrouwers
Copy link
Member

Yes

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

No branches or pull requests

3 participants