-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 the package #4110
Comments
Make sure you read the requirements in the docs. You are most likely missing a php extension that is required |
@patrickbrouwers thank you for your reply. That is what i get when i run "php -i": ===================== gd GD Support => enabled Directive => Local Value => Master Value ... iconv iconv support => enabled Directive => Local Value => Master Value ... SimpleXML SimpleXML support => enabled ... xml XML Support => active xmlreader XMLReader => enabled ... zip Zip => enabled zlib ZLib Support => enabled ==== All required extensions are enabled. |
@cool-energie Same issue here! Found any solutions? |
same issue with me, let me know if you have found a fix @cool-energie |
@sdon2 , @Dev-rahul I didn't found a fix yet sorry. |
Found that v3.1 requires PHP 8.0. Its working fine with my PHP 8.2 environment flawlessly. |
I installed successfully using When running Line 23 in 968614f
Until v3.1.26, php ^8.0 was added to Line 24 in 66f7c95
To sum up, if you want to install it on PHP 8.0 or above, please lock the version number to v3.1.26 or later. |
This may require an update to the documentation. |
i try to install i think that can update composer.json
|
Don't install 2.0 of phpspreadsheet before installing this package, it's not supported yet |
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
What version of Laravel Excel are you using?
3.1
What version of Laravel are you using?
8.83.27
What version of PHP are you using?
7.4.33
Describe your issue
When i execute the command "composer require maatwebsite/excel:^3.1", I get this output:
==============
The "3.1" constraint for "maatwebsite/excel" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints
./composer.json has been updated
Running composer update maatwebsite/excel
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires maatwebsite/excel 3.1 -> satisfiable by maatwebsite/excel[3.1.0].
- maatwebsite/excel 3.1.0 requires illuminate/support ^5.5 -> found illuminate/support[v5.5.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
===============================
If i execute "composer require maatwebsite/excel" i get the 1.1 version and i want the 3.1 version.
How can the issue be reproduced?
I have only copy the command from the documentation and execute it in the console.
What should be the expected behaviour?
Installation command work without issues
The text was updated successfully, but these errors were encountered: