Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
./composer.json has been updated
Running composer update mckue/laravel-excel
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- mckue/laravel-excel[v1.0.0, ..., v1.1.0] 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.14] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires mckue/laravel-excel * -> satisfiable by mckue/laravel-excel[v1.0.0, ..., v1.1.0].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require mckue/laravel-excel:*" to figure out if any version is installable, or "composer require mckue/laravel-excel:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
我看文档中没有写laravel版本限制,但是实际安装过程中发现laravel11里面无法安装.