PHPackages                             fastbolt/async-soap-guzzle - 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. fastbolt/async-soap-guzzle

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

fastbolt/async-soap-guzzle
==========================

An asynchronous SOAP client build on top of Guzzle.

v1.0.1(3mo ago)00MITPHPPHP &gt;=8.0

Since Jan 28Pushed 3mo agoCompare

[ Source](https://github.com/fastbolt/async-soap-guzzle)[ Packagist](https://packagist.org/packages/fastbolt/async-soap-guzzle)[ RSS](/packages/fastbolt-async-soap-guzzle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (3)Used By (0)

Asynchronous SOAP client
========================

[](#asynchronous-soap-client)

[![codecov.io](https://camo.githubusercontent.com/a39b45de033ec1e6c5d07629cbedc503976ad634eef2083c8e216829d9f9a38a/68747470733a2f2f636f6465636f762e696f2f6769746875622f6d656e672d7469616e2f6173796e632d736f61702d67757a7a6c652f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/meng-tian/async-soap-guzzle?branch=master) [![workflow](https://github.com/meng-tian/async-soap-guzzle/actions/workflows/main.yaml/badge.svg)](https://github.com/meng-tian/async-soap-guzzle/actions/workflows/main.yaml/badge.svg)

An asynchronous SOAP client build on top of Guzzle. The `SoapClient` implements [meng-tian/php-async-soap](https://github.com/meng-tian/php-async-soap).

Requirement
-----------

[](#requirement)

PHP 7.1 --enablelibxml --enable-soap

Install
-------

[](#install)

```
composer require meng-tian/async-soap-guzzle

```

Usage
-----

[](#usage)

From [v0.4.0](https://github.com/meng-tian/async-soap-guzzle/tree/v0.4.0) or newer, an instance of `Psr\Http\Message\RequestFactoryInterface` and an instance of `Psr\Http\Message\StreamFactoryInterface` need to be injected into `Meng\AsyncSoap\Guzzle\Factory`. These two interfaces are defined in [PSR-17](https://www.php-fig.org/psr/psr-17/) to create [PSR-7](https://www.php-fig.org/psr/psr-7/) compliant HTTP instances. This change will decouple this library from any specific implementation of PSR-7 and PSR-17. Clients can determine which implementation of PSR-17 they want to use. Plenty of different implementations of PSR17 can be found from [Packagist](https://packagist.org/?query=psr-17), e.g., `symfony/psr-http-message-bridge`, or `laminas/laminas-diactoros`.

1. Require this library and an implementation of PSR-17 in your `composer.json`:

```
...
    "require": {
        "php": ">=7.1.0",
        "meng-tian/async-soap-guzzle": "~0.4.0",
        "laminas/laminas-diactoros": "^2.0"  # this can be replaced by any implementation of PSR-17
    },
...
```

2. Run `composer install`
3. Create your async SOAP client and call your SOAP messages:

```
use GuzzleHttp\Client;
use Meng\AsyncSoap\Guzzle\Factory;
use Laminas\Diactoros\RequestFactory;
use Laminas\Diactoros\StreamFactory;

$factory = new Factory();
$client = $factory->create(new Client(), new StreamFactory(), new RequestFactory(), 'http://www.webservicex.net/Statistics.asmx?WSDL');

// async call
$promise = $client->callAsync('GetStatistics', [['X' => [1,2,3]]]);
$result = $promise->wait();

// sync call
$result = $client->call('GetStatistics', [['X' => [1,2,3]]]);

// magic method
$promise = $client->GetStatistics(['X' => [1,2,3]]);
$result = $promise->wait();
```

License
-------

[](#license)

This library is released under [MIT](https://github.com/meng-tian/async-soap-guzzle/blob/master/LICENSE) license.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance86

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

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

2

Last Release

101d ago

PHP version history (2 changes)v1.0PHP &gt;=7.1.0

v1.0.1PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/621906848fff4614cc319744fb629b9b01e661fcfcae1330c6942c2111ba17a6?d=identicon)[rettahc](/maintainers/rettahc)

---

Top Contributors

[![realmtian](https://avatars.githubusercontent.com/u/4396851?v=4)](https://github.com/realmtian "realmtian (44 commits)")[![alexeyshockov](https://avatars.githubusercontent.com/u/203120?v=4)](https://github.com/alexeyshockov "alexeyshockov (1 commits)")

---

Tags

asynchronousGuzzlesoap

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fastbolt-async-soap-guzzle/health.svg)

```
[![Health](https://phpackages.com/badges/fastbolt-async-soap-guzzle/health.svg)](https://phpackages.com/packages/fastbolt-async-soap-guzzle)
```

###  Alternatives

[meng-tian/async-soap-guzzle

An asynchronous SOAP client build on top of Guzzle.

962.4M3](/packages/meng-tian-async-soap-guzzle)[kevinrob/guzzle-cache-middleware

A HTTP/1.1 Cache for Guzzle 6. It's a simple Middleware to be added in the HandlerStack. (RFC 7234)

43117.4M104](/packages/kevinrob-guzzle-cache-middleware)[caseyamcl/guzzle_retry_middleware

Guzzle v6+ retry middleware that handles 429/503 status codes and connection timeouts

21610.7M64](/packages/caseyamcl-guzzle-retry-middleware)[php-http/guzzle7-adapter

Guzzle 7 HTTP Adapter

9057.1M554](/packages/php-http-guzzle7-adapter)[graham-campbell/guzzle-factory

Provides A Simple Guzzle Factory With Good Defaults

916.4M49](/packages/graham-campbell-guzzle-factory)[meabed/php-parallel-soap

Multi curl SoapClient that allow to perform multiple requests to SoapServer

4389.1k](/packages/meabed-php-parallel-soap)

PHPackages © 2026

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