问题描述
我想在Laravel 5.3
和PHP7
上使用nusoap
.但是生病时,请尝试使用该软件包中的composer
进行安装:
I would like to use nusoap
on Laravel 5.3
with PHP7
. But when ill try to install it with composer
from that package:
https://github.com/codecasts/nusoap-php7 (v.0.9. 6)
https://github.com/codecasts/nusoap-php7 (v.0.9.6)
它仍然返回我:
将清除缓存,但所有操作均未成功.任何人都已成功使用PHP7
在Laravel
中实现了nusoap
?
Ill cleared the cache, but all with no success. Anyone has successfully implemented nusoap
in Laravel
with PHP7
?
推荐答案
我遇到了同样的问题.我在GitHub上找到了新版本的nusoap.php文件,您必须将其复制到实际的NuSoap文件夹中.不推荐使用的构造函数已被重写.
I've had the same problem. I've found on GitHub a new version of the nusoap.php file that you will have to copy in your actual NuSoap folder. The deprecated constructor has been rewritten.
以下是您可以获取文件的链接: https://github.com/econea/nusoap
Here is the link where you'll be able to get the file:https://github.com/econea/nusoap
这篇关于PHP7-nusoap-nusoap_client已弃用构造函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!