PHPackages                             divineomega/soapsuds - 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. divineomega/soapsuds

Abandoned → [jord-jd/soapsuds](/?search=jord-jd%2Fsoapsuds)Library

divineomega/soapsuds
====================

Soapsuds is a PHP library that allows developers to easily create a SOAP web service from a regular class.

v2.0.0(2mo ago)045LGPL-3.0-onlyPHPPHP &gt;=5.5.9

Since Nov 25Pushed 2mo agoCompare

[ Source](https://github.com/Jord-JD/Soapsuds)[ Packagist](https://packagist.org/packages/divineomega/soapsuds)[ Docs](https://github.com/Jord-JD/php-summary)[ GitHub Sponsors](https://github.com/DivineOmega)[ RSS](/packages/divineomega-soapsuds/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

Soapsuds
========

[](#soapsuds)

Soapsuds is a PHP library that allows developers to easily create a SOAP web service from a regular class.

Installation
------------

[](#installation)

Simply require this package, using Composer, in the root directory of your project.

```
composer require jord-jd/soapsuds

```

Remember to include the autoload file on any page you wish to use Soapsuds, providing you are not using a framework that handles this for you.

```
require 'vendor/autoload.php`
```

Quick start
-----------

[](#quick-start)

To create a SOAP web service using Soapsuds, you need to define a class to handle your web service requests, then pass an instance of this class into Soapsuds. That's it.

These steps are described in the following sections.

Creating your web service class
-------------------------------

[](#creating-your-web-service-class)

In order to generate the WSDL (web service definition language) data required, all methods in your web service class must be fully commented using the [PHP DocBlock format](https://phpdoc.org/docs/latest/guides/docblocks.html). The following is an example of a properly commented class that will work just fine with Soapsuds.

```
class NumberAdditionWebService
{
    /**
     * This method takes two float parameters, adds them together, and returns the result.
     *
     * @param float $number1
     * @param float $number2
     * @return float
     */
    public function addNumbers($number1, $number2)
    {
        return $number1 + $number2;
    }
}
```

Passing your class instance to SoapSuds
---------------------------------------

[](#passing-your-class-instance-to-soapsuds)

After defining your web service class, you should then create a new instance of it, and pass this object into the Soapsuds `handleRequest` method. This can all be done in a single line, as follows.

```
\JordJD\Soapsuds\Soapsuds::handleRequest(new NumberAdditionWebService());
```

You should then be able to use the URL of this page as the endpoint for your new web service. Soapsuds also provides full WSDL output for your web service by appending `?wsdl` to the endpoint URL.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance83

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~561 days

Recently: every ~842 days

Total

7

Last Release

85d ago

Major Versions

v1.0.5 → v2.0.02026-02-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/c580cdf7c14898fff179cdfc1085892091d5d2f49d917873a12365af9ac77c93?d=identicon)[Jord-JD](/maintainers/Jord-JD)

---

Top Contributors

[![Jord-JD](https://avatars.githubusercontent.com/u/650645?v=4)](https://github.com/Jord-JD "Jord-JD (8 commits)")

---

Tags

php-librarysoapsoap-web-servicesweb-serviceswsdlwsdl-generationphpweb servicelibrarysoapPHP LibrarySOAP web serviceSOAP web service librarySOAP PHP library

### Embed Badge

![Health badge](/badges/divineomega-soapsuds/health.svg)

```
[![Health](https://phpackages.com/badges/divineomega-soapsuds/health.svg)](https://phpackages.com/packages/divineomega-soapsuds)
```

###  Alternatives

[niiknow/bayes

a machine learning lib

6950.0k](/packages/niiknow-bayes)[soosyze/queryflatfile

The Queryflatfile is PHP library for simple database not SQL

181.0k1](/packages/soosyze-queryflatfile)

PHPackages © 2026

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