PHPackages                             monomelodies/newsoap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. monomelodies/newsoap

ActiveLibrary[HTTP &amp; Networking](/categories/http)

monomelodies/newsoap
====================

PHP Soap client based on NuSoap

0.1.0(10y ago)13.8k1MITPHP

Since Oct 21Pushed 10y ago1 watchersCompare

[ Source](https://github.com/monomelodies/newsoap)[ Packagist](https://packagist.org/packages/monomelodies/newsoap)[ Docs](https://github.com/monomelodies/newsoap)[ RSS](/packages/monomelodies-newsoap/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Newsoap
=======

[](#newsoap)

A modernised fork of `nusoap`.

Installation
------------

[](#installation)

### Composer (recommended)

[](#composer-recommended)

```
$ composer require monomelodies/newsoap
```

### Manual

[](#manual)

1. Download or clone the repository;
2. Add `/path/to/newsoap/src` as a PSR-4 path to your autoloader for `Newsoap\\`.

Why this library?
-----------------

[](#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:

1. For some reason, the SOAP extension is not installed;
2. You're interfacing with a crappy SOAP server that doesn't adhere to specs. Actually, `Newsoap` was specifically created to talk to `LexisNexis`, but I'm sure there are other implementations out there that will trip over PHP's (conforming) implementation.

Usage
-----

[](#usage)

Basically the same as `nusoap`, with currently two notable exceptions:

1. The class name to use (duh). Use `new Newsoap\Client(...$optons)`. The parameters are still the same as for `newsoap_client` (though I really want to change them, constructors with a gazillion arguments are bad practive).
2. On failure, `Newsoap` doesn't silently "log" errors but throws an exception of the type `Newsoap\ServiceException` or `Newsoap\FaultException`.

Todos
-----

[](#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

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3862d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bce0289662bc7c78014afb3610eb7558b68948a97cb2f9b0efd1755d80dc7c2a?d=identicon)[monomelodies](/maintainers/monomelodies)

---

Top Contributors

[![monomelodies](https://avatars.githubusercontent.com/u/260346?v=4)](https://github.com/monomelodies "monomelodies (27 commits)")[![lflaszlo](https://avatars.githubusercontent.com/u/533115?v=4)](https://github.com/lflaszlo "lflaszlo (1 commits)")

---

Tags

phpcomposernusoap

### Embed Badge

![Health badge](/badges/monomelodies-newsoap/health.svg)

```
[![Health](https://phpackages.com/badges/monomelodies-newsoap/health.svg)](https://phpackages.com/packages/monomelodies-newsoap)
```

###  Alternatives

[econea/nusoap

Fixed NuSOAP for PHP 5.6 - 8.5

3315.5M26](/packages/econea-nusoap)[hannesvdvreken/guzzle-debugbar

A Guzzle middleware that logs requests to debugbar's timeline

76410.4k1](/packages/hannesvdvreken-guzzle-debugbar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
