admin管理员组文章数量:1397102
I have a php project reading data from .xlsx files that uses the no-longer-supported box/spout library. In order for it to work with the latest PHP version, I had to modify the box/spout code to add a bunch of #[\ReturnTypeWillChange] Attributes to suppress a bunch of deprecation warnings .
It seems like it would be better to use the current, supported library of OpenSpout instead, but I can't get it installed. Box/Spout I could install just by copying the files into my project and then requiring the Autoloader.php file in files where I used the library. Openspout no longer has this autoloader file and the documentation only talks about installing using Composer. Is there any way to install it like I did Box/Spout? I have to go through a lot of bureaucracy if I have to use composer.
本文标签: phpIs it possible to add OpenSpout to a projectwithout using composerStack Overflow
版权声明:本文标题:php - Is it possible to add OpenSpout to a project, without using composer? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744116792a2591551.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论