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

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

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

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

0.2.2(6y ago)13297.1k↓57.3%9[1 PRs](https://github.com/bpacholek/idct-soap-client/pulls)MITPHPPHP &gt;=5.3.0

Since Apr 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bpacholek/idct-soap-client)[ Packagist](https://packagist.org/packages/idct/soap-client)[ Docs](https://github.com/ideaconnect/idct-soap-client)[ RSS](/packages/idct-soap-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (3)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

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity49

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 ~750 days

Total

2

Last Release

2229d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/168780730?v=4)[IDCT Bartosz Pachołek](/maintainers/ideaconnect)[@ideaconnect](https://github.com/ideaconnect)

---

Top Contributors

[![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

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[econea/nusoap

Fixed NuSOAP for PHP 5.6 - 8.5

3395.8M28](/packages/econea-nusoap)[robrichards/wse-php

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

1346.3M33](/packages/robrichards-wse-php)[meng-tian/async-soap-guzzle

An asynchronous SOAP client build on top of Guzzle.

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

Allows to easily add Ws Security header to a SOAP Request

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

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

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

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

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

PHPackages © 2026

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