carlin-rj / laravel-excel

Laravel-excel基于SpartnerNL/Laravel-Excel代码上,切换成xlswriter扩展。 如果您的项目使用的是SpartnerNL/Laravel-Excel并且出现大数据导出性能问题,你不想修改大量的代码,那么当前的包可能会很适合你
Apache License 2.0
13 stars 3 forks source link

laravel11支持 #3

Closed LiXunGuan closed 5 months ago

LiXunGuan commented 5 months ago

我看文档中没有写laravel版本限制,但是实际安装过程中发现laravel11里面无法安装.

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.
carlin-rj commented 5 months ago

这个问题等我抽时间处理一下