PHPackages                             osucomm/ws-soap - 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. osucomm/ws-soap

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

osucomm/ws-soap
===============

Extends the PHP SOAP client to add basic WSSE support

0.1.1(10y ago)198.3k↑30%2[1 issues](https://github.com/electrickite/WsSoap/issues)MITPHPPHP &gt;=5.3.0

Since May 15Pushed 10y ago3 watchersCompare

[ Source](https://github.com/electrickite/WsSoap)[ Packagist](https://packagist.org/packages/osucomm/ws-soap)[ Docs](https://github.com/electrickite/WsSoap)[ RSS](/packages/osucomm-ws-soap/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

WsSoap
======

[](#wssoap)

Extends the PHP SOAP client to add basic WSSE support. The library makes as few modifications to the base SOAP client class as possible and attempts to make authenticating to a service as easy as possible.

Only a subset of the web services security standard is implemented. Specifically, unencrypted plain text password authentication.

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

[](#installation)

You can add the library to your project using [Composer](https://getcomposer.org) or by manually including the necessary files.

### Composer

[](#composer)

First, if you haven't already installed Composer, install it with

```
$ cd my-awesome-project
$ curl -sS https://getcomposer.org/installer | php

```

Then create a `composer.json` file with the following contents:

```
{
    "require": {
        "osucomm/ws-soap": "~0.1"
    }
}

```

And install the libarary:

```
$ php composer.phar install

```

Finally, you'll need to include Composer's autoloader somewhere in your project:

```
require 'vendor/autoload.php';

```

If you prefer to use an autoloader other than Composer, note that WsSoap is PSR-4 compliant.

### Include Manually

[](#include-manually)

Download or clone the library to a directory within your project and include
`src/Client.php` somehwere in your project.

```
require '/path/to/WsSoap/src/Client.php';

```

Use
---

[](#use)

Creating a WSSE SOAP client is as simple as

```
$wsdl = "https://example.com/MY_WSDL.wsdl";
$username = 'USER';
$password = 'PASS';

$client = new WsSoap\Client($wsdl, array(
    'wsUsername' => $username,
    'wsPassword' => $password,
));

```

In addition to the required `wsUsername` and `wsPassword` keys, the constructor options are identical to the native [PHP SoapClient](http://www.php.net/manual/en/class.soapclient.php).

Once the client is instantiated, it can be used in exactly the same way as SoapClient.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~614 days

Total

2

Last Release

3772d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e5fbe6d7237adb2853eb5c93ffdab1105ab176e069fe854c0b0f6dea2b2e5e2?d=identicon)[electrickite](/maintainers/electrickite)

---

Top Contributors

[![electrickite](https://avatars.githubusercontent.com/u/3449824?v=4)](https://github.com/electrickite "electrickite (8 commits)")

---

Tags

soapsoap-client

### Embed Badge

![Health badge](/badges/osucomm-ws-soap/health.svg)

```
[![Health](https://phpackages.com/badges/osucomm-ws-soap/health.svg)](https://phpackages.com/packages/osucomm-ws-soap)
```

###  Alternatives

[econea/nusoap

Fixed NuSOAP for PHP 5.6 - 8.5

3315.5M26](/packages/econea-nusoap)[robrichards/wse-php

Libraries for adding WS-\* support to ext/soap in PHP.

1326.0M30](/packages/robrichards-wse-php)[meng-tian/async-soap-guzzle

An asynchronous SOAP client build on top of Guzzle.

962.4M4](/packages/meng-tian-async-soap-guzzle)[wsdltophp/wssecurity

Allows to easily add Ws Security header to a SOAP Request

42837.2k8](/packages/wsdltophp-wssecurity)[meng-tian/soap-http-binding

A PHP library for binding SOAP messages to PSR-7 HTTP messages.

162.5M4](/packages/meng-tian-soap-http-binding)[clue/soap-react

Simple, async SOAP webservice client library, built on top of ReactPHP

64118.0k2](/packages/clue-soap-react)

PHPackages © 2026

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