Download the PHP package monomelodies/newsoap without Composer
On this page you can find all versions of the php package monomelodies/newsoap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download monomelodies/newsoap
More information about monomelodies/newsoap
Files in monomelodies/newsoap
Download monomelodies/newsoap
More information about monomelodies/newsoap
Files in monomelodies/newsoap
Vendor monomelodies
Package newsoap
Short Description PHP Soap client based on NuSoap
License MIT
Homepage https://github.com/monomelodies/newsoap
Package newsoap
Short Description PHP Soap client based on NuSoap
License MIT
Homepage https://github.com/monomelodies/newsoap
Please rate this library. Is it a good library?
Informations about the package newsoap
Newsoap
A modernised fork of nusoap
.
Installation
Composer (recommended)
Manual
- Download or clone the repository;
- Add
/path/to/newsoap/src
as a PSR-4 path to your autoloader forNewsoap\\
.
Why this library?
Modern PHP installations have a pretty awesome SoapClient
native class, I'm
very well aware of that :) However, there are situations where using this is not
an option:
- For some reason, the SOAP extension is not installed;
- You're interfacing with a crappy SOAP server that doesn't adhere to specs.
Actually,
Newsoap
was specifically created to talk toLexisNexis
, but I'm sure there are other implementations out there that will trip over PHP's (conforming) implementation.
Usage
Basically the same as nusoap
, with currently two notable exceptions:
- The class name to use (duh). Use
new Newsoap\Client(...$optons)
. The parameters are still the same as fornewsoap_client
(though I really want to change them, constructors with a gazillion arguments are bad practive). - On failure,
Newsoap
doesn't silently "log" errors but throws an exception of the typeNewsoap\ServiceException
orNewsoap\FaultException
.
Todos
- Modernize more code
- Implement exception-based error handling throughout
- Cleanup the old debug methods
- Check
Server
implementation (I was initially more concerned with the client, but it should work - but really maybe this lib shouldn't concern itself with that part anyway) - Add unit tests
All versions of newsoap with dependencies
PHP Build Version
Package Version
No informations.
The package monomelodies/newsoap contains the following files
Loading the files please wait ....