PHPackages                             ddesrosiers/classy-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. [API Development](/categories/api)
4. /
5. ddesrosiers/classy-soap-client

ActiveLibrary[API Development](/categories/api)

ddesrosiers/classy-soap-client
==============================

A wrapper to PHP's SoapClient that allows interaction will a SOAP service via classes.

v0.1(12y ago)140.6kMITPHP

Since Mar 20Pushed 12y ago1 watchersCompare

[ Source](https://github.com/danadesrosiers/classy-soap-client)[ Packagist](https://packagist.org/packages/ddesrosiers/classy-soap-client)[ RSS](/packages/ddesrosiers-classy-soap-client/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

classy-soap-client
==================

[](#classy-soap-client)

A wrapper to PHP's SoapClient that allows interaction will a SOAP service via classes.

Working with SOAP services in PHP can be challenging. A SOAP service takes one or more arguments which are often classes and returns a object. In order to use the SoapClient, the input must be mangled into an ugly associative array and the result is a stdClass. By extending the ClassySoapClient, users can interact with the SOAP service in the way it was intented to be used. You just need to define the method with the proper arguments and types. If the `@return` annotation is used, the return will be converted to the specified class. Be sure to use the fully qualified calss name. Use \[\] to indicate and array. Of course, you also need to define any input and return classes you use.

```
class SampleClient extends ClassySoapClient
{
  /**
   * @param InputClassA $one
   * @param             $two
   * @return SampleMethodReturn
   */
  public function sampleMethod(InputClassA $one, $two)
  {
    return $this->executeSoapCall(__FUNCTION__, get_defined_vars());
  }

  /**
   * @param InputClassB $one
   * @return OneArgMethodReturn[]
   */
  public function oneArgMethod(InputClassB $one)
  {
    return $this->executeSoapCall(__FUNCTION__, $one);
  }
}

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

4436d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/379f19cd086a0ded41d10386e91116599b2450dc0855e6240b86ca9ca5bc3b74?d=identicon)[danadesrosiers](/maintainers/danadesrosiers)

---

Top Contributors

[![danadesrosiers](https://avatars.githubusercontent.com/u/4699783?v=4)](https://github.com/danadesrosiers "danadesrosiers (3 commits)")

---

Tags

objectsoap

### Embed Badge

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

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

###  Alternatives

[laminas/laminas-soap

6121.8M37](/packages/laminas-laminas-soap)[gusapi/gusapi

Gus Api Library for PHP

1351.5M8](/packages/gusapi-gusapi)[codedredd/laravel-soap

A SoapClient wrapper integration for Laravel

221516.6k3](/packages/codedredd-laravel-soap)[besimple/soap-client

Build and consume SOAP Client based web services

582.2M14](/packages/besimple-soap-client)[gmostafa/php-graphql-oqm

GraphQL Object-to-Query Mapper (QOM) which generates objects from API schema

44898.8k2](/packages/gmostafa-php-graphql-oqm)[besimple/soap-common

Build and consume SOAP Common based web services

122.4M8](/packages/besimple-soap-common)

PHPackages © 2026

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