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. ddesrosiers/classy-soap-client

ActiveLibrary

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

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

v0.1(12y ago)040.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 2mo ago

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

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

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

4434d 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

[myclabs/deep-copy

Create deep copies (clones) of your objects

8.9k849.8M169](/packages/myclabs-deep-copy)[doctrine/persistence

The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.

4.1k286.5M763](/packages/doctrine-persistence)[symfony/property-access

Provides functions to read and write from/to an object or array using a simple string notation

2.8k295.3M2.5k](/packages/symfony-property-access)[doctrine/mongodb-odm

PHP Doctrine MongoDB Object Document Mapper (ODM) provides transparent persistence for PHP objects to MongoDB.

1.1k23.3M302](/packages/doctrine-mongodb-odm)[cuyz/valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure.

1.5k9.2M108](/packages/cuyz-valinor)[laminas/laminas-soap

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

PHPackages © 2026

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