Laravel 12? #4279
Replies: 3 comments 2 replies
-
Please read what composer tells you: |
Beta Was this translation helpful? Give feedback.
-
I am also having an issue with Laravel 12. What is going wrong? I try to follow When try install the lates version, I get the same error as in the document.
When I do the second option without specifying the version, it installs version 1.1.
After the installation document I updatated first my config/app.hp
When I run php artisan vendor:publish --provider="Maatwebsite\Excel\ExcelServiceProvider" --tag=config I get error
I see a recent document about the installation (17 April 2015) on but I am still having the same errors. I wonder if my composer config is correct (It has been created by the Laravel 12 lnstaller from https://laravel.com/docs/12.x/installation .
|
Beta Was this translation helpful? Give feedback.
-
I managed to solve this by adding the php version 7.0 and the correct phpoffice/phpspreadsheet version.
Thanks |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
composer require maatwebsite/excel
Using version ^3.1 for maatwebsite/excel
./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
- maatwebsite/excel[3.1.63, ..., 3.1.64] require phpoffice/phpspreadsheet ^1.29.9 -> satisfiable by phpoffice/phpspreadsheet[1.29.9, 1.29.10].
- maatwebsite/excel[3.1.0, ..., 3.1.25] require php ^7.0 -> your php version (8.2.19) does not satisfy that requirement.
- maatwebsite/excel[3.1.26, ..., 3.1.35] require illuminate/support 5.8.|^6.0|^7.0|^8.0 -> found illuminate/support[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- maatwebsite/excel[3.1.36, ..., 3.1.45] require illuminate/support 5.8.|^6.0|^7.0|^8.0|^9.0 -> found illuminate/support[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
- maatwebsite/excel[3.1.46, ..., 3.1.53] require illuminate/support 5.8.||^6.0||^7.0||^8.0||^9.0||^10.0 -> found illuminate/support[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.28] but these were not loaded, likely because it conflicts with another require.
- maatwebsite/excel[3.1.54, ..., 3.1.62] require illuminate/support 5.8.||^6.0||^7.0||^8.0||^9.0||^10.0||^11.0 -> found illuminate/support[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.28, v11.0.0, ..., v11.44.1] but these were not loaded, likely because it conflicts with another require.
- phpoffice/phpspreadsheet[1.29.9, ..., 1.29.10] require ext-zip * -> it is missing from your system. Install or enable PHP's zip extension.
- Root composer.json requires maatwebsite/excel ^3.1 -> satisfiable by maatwebsite/excel[3.1.0, ..., 3.1.64].
Beta Was this translation helpful? Give feedback.
All reactions