Fork of NuSOAP fixed for PHP 5.4, 5.5, 5.6, 7.0 and 7.1 (tested).
All credits belongs to official author(s): http://nusoap.sourceforge.net.
Solid rock version is ~0.9.5.x
.
composer require econea/nusoap:~0.9.5.1
Just bug fixing for >=0.9.6
. Update your composer.json.
{
"minimum-stability": "dev",
"prefer-stable": true
}
And install next version.
composer require econea/nusoap:^0.9.6
Total refactored version (split into more files, CI, etc).
composer require econea/nusoap:dev-develop
State | Version | Branch | PHP | Composer |
---|---|---|---|---|
development | dev-develop |
develop |
>= 5.6 |
|
next | ^0.9.6 |
0.9.x |
>= 5.4 |
|
stable | ~0.9.5.1 |
master |
>= 5.4 |
// Config
$client = new nusoap_client('example.com/api/v1', 'wsdl');
$client->soap_defencoding = 'UTF-8';
$client->decode_utf8 = FALSE;
// Calls
$result = $client->call($action, $data);
Take a look at develop
branch. There will be new features and modernizations.
Minimal version is set to PHP 5.6.
composer require econea/nusoap:dev-master
Milan Felix Šulc |
Thank you for testing, reporting and contributing.