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

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

meng-tian/async-soap-guzzle
===========================

An asynchronous SOAP client build on top of Guzzle.

v0.4.2(1mo ago)962.6M↓45.8%184MITPHPPHP ^8.2CI passing

Since Apr 3Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/meng-tian/async-soap-guzzle)[ Packagist](https://packagist.org/packages/meng-tian/async-soap-guzzle)[ RSS](/packages/meng-tian-async-soap-guzzle/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (12)Versions (14)Used By (4)

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 built on top of Guzzle. `SoapClient` implements [meng-tian/php-async-soap](https://github.com/meng-tian/php-async-soap).

Requirements
------------

[](#requirements)

PHP 8.2 or newer with `ext-soap`, and Guzzle 7. PHP 7.x and PHP 8.0-8.1 remain available only through older releases.

Install
-------

[](#install)

```
composer require meng-tian/async-soap-guzzle:^0.4.2

```

Usage
-----

[](#usage)

`Meng\AsyncSoap\Guzzle\Factory` requires a `Psr\Http\Message\RequestFactoryInterface` and a `Psr\Http\Message\StreamFactoryInterface`. These are [PSR-17](https://www.php-fig.org/psr/psr-17/) factories for creating [PSR-7](https://www.php-fig.org/psr/psr-7/) HTTP messages. Use any PSR-17 implementation; the examples below use `laminas/laminas-diactoros`.

1. Install a PSR-17 implementation if your application does not already provide one:

```
...
    "require": {
        "php": "^8.2",
        "meng-tian/async-soap-guzzle": "^0.4.2",
        "laminas/laminas-diactoros": "^3.8"
    },
...
```

You can replace `laminas/laminas-diactoros` with another PSR-17 implementation.

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();
```

Testing
-------

[](#testing)

```
composer install
vendor/bin/phpunit
```

License
-------

[](#license)

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

###  Health Score

65

—

FairBetter than 99% of packages

Maintenance91

Actively maintained with recent releases

Popularity57

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 98% 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 ~374 days

Recently: every ~673 days

Total

11

Last Release

42d ago

PHP version history (4 changes)v0.1.0PHP &gt;=5.5.0

v0.3.0PHP &gt;=5.6.0

v0.4.0PHP &gt;=7.1.0

v0.4.2PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/c250a32e9aa4cc18178efc26b28d5a542033110d5630733380087aadf5d8e4ee?d=identicon)[meng-tian](/maintainers/meng-tian)

---

Top Contributors

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

---

Tags

asynchronousguzzlephpsoapasynchronousGuzzlesoap

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

7.9k1.1B4.4k](/packages/guzzlehttp-psr7)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6943.5M449](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M674](/packages/shopware-core)

PHPackages © 2026

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