PHPackages                             zmog/soap-client - 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. zmog/soap-client

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

zmog/soap-client
================

Library that provides SOAP client through cURL to add support for timeouts.

0.9.2(2y ago)0369MITPHPPHP &gt;=8.1.0

Since Feb 26Pushed 2y agoCompare

[ Source](https://github.com/Gizmo091/idct-soap-client)[ Packagist](https://packagist.org/packages/zmog/soap-client)[ Docs](https://github.com/ideaconnect/idct-soap-client)[ RSS](/packages/zmog-soap-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

idct-soap-client
================

[](#idct-soap-client)

Class derived from PHP SoapClient to add support for connection and read timeouts.

Requires PHP 5.4+ with SoapClient and cUrl.

usage
-----

[](#usage)

The usage is exactly the same as with PHP original SoapClient. The difference comes with the initialization as the constructor allows to set multiple new parameters which extend the original functionality.

### Persistance Factor

[](#persistance-factor)

Can be set in the constructor or using `setPersistanceFactor` method. Sets the amount of retries to conduct before treating the request as failed. By default set to 1.

### Persistance Timeout

[](#persistance-timeout)

Can be set in the constructor or using `setPersistanceTmeout` method. Sets the amount of seconds to wait by cUrl before treating a single request as failed. Acts as a read timeout. By default set to 0 which means *disabled*.

### Negotiation Timeout

[](#negotiation-timeout)

Can be set in the constructor or using `setNegotiationTimeout` method. Sets the maximum amount of seconds cUrl will try to establish connection with the WebService before treating the request as failed. As a connectin timeout. By default set to 0 which means *disabled*.

tips
----

[](#tips)

### Content-Type and SOAPAction

[](#content-type-and-soapaction)

Protocol **SOAP 1.1** requires SOAPAction header to be set. Method `buildHeaders`automatically adds it during soap request. In **SOAP 1.2** SOAPAction is included in `Content-type` header therefore if you need to overwrite `Content-type` with **SOAP 1.2** be sure to include `{SOAPACTION}` token for automatic replacement.

contribution
------------

[](#contribution)

If you find any issues or want to add new features please use the Issues or Pull Request functions: code addition is much appreciated!

Before sending code be sure to run `fix_code.sh` to clean it up.

Thanks!

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~0 days

Total

3

Last Release

812d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6045f24a5a5342628edcac98302f5ab2a6e4acfba94e79876730da54424e177d?d=identicon)[Mathieu Vedie](/maintainers/Mathieu%20Vedie)

---

Top Contributors

[![Gizmo091](https://avatars.githubusercontent.com/u/289745?v=4)](https://github.com/Gizmo091 "Gizmo091 (4 commits)")[![gmta](https://avatars.githubusercontent.com/u/3210731?v=4)](https://github.com/gmta "gmta (2 commits)")[![conradkleinespel](https://avatars.githubusercontent.com/u/1234006?v=4)](https://github.com/conradkleinespel "conradkleinespel (1 commits)")[![staabm](https://avatars.githubusercontent.com/u/120441?v=4)](https://github.com/staabm "staabm (1 commits)")

---

Tags

soapwebservicesidct

### Embed Badge

![Health badge](/badges/zmog-soap-client/health.svg)

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

###  Alternatives

[econea/nusoap

Fixed NuSOAP for PHP 5.6 - 8.5

3315.5M26](/packages/econea-nusoap)[idct/soap-client

Library that provides SOAP client through cURL to add support for timeouts.

13277.6k](/packages/idct-soap-client)[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)

PHPackages © 2026

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