PHPackages                             natlibfi/besimple-soap - 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. natlibfi/besimple-soap

ActiveLibrary[API Development](/categories/api)

natlibfi/besimple-soap
======================

Build and consume SOAP and WSDL based web services

v3.0.1(1y ago)042.8k↓38%MITPHPPHP &gt;=8.1

Since Nov 6Pushed 1y agoCompare

[ Source](https://github.com/NatLibFi/BeSimpleSoap)[ Packagist](https://packagist.org/packages/natlibfi/besimple-soap)[ Docs](https://github.com/NatLibFi/BeSimpleSoap)[ RSS](/packages/natlibfi-besimple-soap/feed)WikiDiscussions dev Synced 1mo ago

READMEChangelogDependencies (11)Versions (27)Used By (0)

BeSimpleSoap
============

[](#besimplesoap)

Forked from .

Build SOAP and WSDL based web services

[![Latest Stable Version](https://camo.githubusercontent.com/23570057d918e3dd5debedb6ee2f6abb251f33407b97be8d0606e71e491ae77c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e61746c696266692f626573696d706c652d736f61702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/natlibfi/besimple-soap)[![Minimum PHP Version](https://camo.githubusercontent.com/e15496839a78f9750ad8bad1ed505d3943cb8814e1db98ef2492d975d7986758/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d7e253230372e342d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![CI](https://github.com/NatLibFi/BeSimpleSoap/actions/workflows/ci.yaml/badge.svg)](https://github.com/NatLibFi/BeSimpleSoap/actions/workflows/ci.yaml)

Components
==========

[](#components)

BeSimpleSoap consists of four components as described below.

BeSimple\\SoapClient
--------------------

[](#besimplesoapclient)

The BeSimpleSoapClient is a component that extends the native PHP SoapClient with further features like SwA, MTOM and WS-Security.

### Features (only subsets of the linked specs implemented)

[](#features-only-subsets-of-the-linked-specs-implemented)

- SwA: SOAP Messages with Attachments [Spec](http://www.w3.org/TR/SOAP-attachments)
- MTOM: SOAP Message Transmission Optimization Mechanism [Spec](http://www.w3.org/TR/soap12-mtom/)
- WS-Security [Spec1](http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0.pdf), [Spec2](http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0.pdf)
- WS-Adressing [Spec](http://www.w3.org/2002/ws/addr/)

### Usage

[](#usage)

See [PHP documentation](https://www.php.net/manual/en/class.soapclient.php) for more information on how to use the library.

BeSimple\\SoapServer
--------------------

[](#besimplesoapserver)

The BeSimpleSoapServer is a component that extends the native PHP SoapServer with further features like SwA, MTOM and WS-Security.

### Features (only subsets of the linked specs implemented)

[](#features-only-subsets-of-the-linked-specs-implemented-1)

- SwA: SOAP Messages with Attachments [Spec](http://www.w3.org/TR/SOAP-attachments)
- MTOM: SOAP Message Transmission Optimization Mechanism [Spec](http://www.w3.org/TR/soap12-mtom/)
- WS-Security [Spec1](http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0.pdf), [Spec2](http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0.pdf)

### Usage

[](#usage-1)

See [PHP documentation](https://www.php.net/manual/en/class.soapserver.php) for more information on how to use the library.

BeSimple\\SoapCommon
--------------------

[](#besimplesoapcommon)

The BeSimpleSoapCommon component contains functionality shared by both the server and client implementations.

### Features

[](#features)

- Common interfaces for SoapClient and SoapServer input/output processing flow
- MIME parser for SwA and MTOM implementation
- Soap type converters

BeSimple\\SoapWsdl
------------------

[](#besimplesoapwsdl)

WSDL support classes.

Information for Developers
==========================

[](#information-for-developers)

Makefile contains different commands for running tests e.g. in a Docker container. Examples:

`make start`

`make qa`

Running tests locally
---------------------

[](#running-tests-locally)

Tests that don't require a running server can be run locally with the following command:

`COMPOSER_BINARY=/path/to/composer.phar bin/simple-phpunit`

To start the servers and run all tests, run the following commands first, then the one above:

`src/BeSimple/SoapClient/Tests/bin/axis.sh``src/BeSimple/SoapClient/Tests/bin/phpwebserver.sh`

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~167 days

Recently: every ~432 days

Total

25

Last Release

564d ago

Major Versions

v0.2.6 → v1.0.02017-07-28

v1.3.5 → v2.0.02022-02-11

v2.0.0 → v3.0.02024-11-01

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

v1.3.0PHP &gt;=5.4.0

v2.0.0PHP &gt;=7.4.0

v3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b63d79061b3a5c794537ffc54c9b48aa211e8a178587de939d2511fe7bc7813?d=identicon)[eremaijala](/maintainers/eremaijala)

---

Top Contributors

[![francisbesset](https://avatars.githubusercontent.com/u/471525?v=4)](https://github.com/francisbesset "francisbesset (305 commits)")[![aschamberger](https://avatars.githubusercontent.com/u/1042049?v=4)](https://github.com/aschamberger "aschamberger (97 commits)")[![christiankerl](https://avatars.githubusercontent.com/u/425341?v=4)](https://github.com/christiankerl "christiankerl (72 commits)")[![EreMaijala](https://avatars.githubusercontent.com/u/1327659?v=4)](https://github.com/EreMaijala "EreMaijala (45 commits)")[![andreskrey](https://avatars.githubusercontent.com/u/8786949?v=4)](https://github.com/andreskrey "andreskrey (27 commits)")[![melmccann](https://avatars.githubusercontent.com/u/17508923?v=4)](https://github.com/melmccann "melmccann (25 commits)")[![BertrandF23](https://avatars.githubusercontent.com/u/16890058?v=4)](https://github.com/BertrandF23 "BertrandF23 (17 commits)")[![andreymor](https://avatars.githubusercontent.com/u/4126694?v=4)](https://github.com/andreymor "andreymor (12 commits)")[![moonraking](https://avatars.githubusercontent.com/u/2804784?v=4)](https://github.com/moonraking "moonraking (10 commits)")[![jbaquero](https://avatars.githubusercontent.com/u/4661531?v=4)](https://github.com/jbaquero "jbaquero (10 commits)")[![campru](https://avatars.githubusercontent.com/u/4568007?v=4)](https://github.com/campru "campru (7 commits)")[![mremi](https://avatars.githubusercontent.com/u/548536?v=4)](https://github.com/mremi "mremi (5 commits)")[![alemorozov](https://avatars.githubusercontent.com/u/1452075?v=4)](https://github.com/alemorozov "alemorozov (4 commits)")[![mskurski](https://avatars.githubusercontent.com/u/3276138?v=4)](https://github.com/mskurski "mskurski (3 commits)")[![Thevart](https://avatars.githubusercontent.com/u/3297319?v=4)](https://github.com/Thevart "Thevart (2 commits)")[![sarunas](https://avatars.githubusercontent.com/u/250523?v=4)](https://github.com/sarunas "sarunas (2 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (2 commits)")[![vytautasgimbutas](https://avatars.githubusercontent.com/u/1172971?v=4)](https://github.com/vytautasgimbutas "vytautasgimbutas (1 commits)")[![ch3ric](https://avatars.githubusercontent.com/u/858068?v=4)](https://github.com/ch3ric "ch3ric (1 commits)")[![davefx](https://avatars.githubusercontent.com/u/292309?v=4)](https://github.com/davefx "davefx (1 commits)")

---

Tags

soapsoap-web-servicessoap

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/natlibfi-besimple-soap/health.svg)

```
[![Health](https://phpackages.com/badges/natlibfi-besimple-soap/health.svg)](https://phpackages.com/packages/natlibfi-besimple-soap)
```

###  Alternatives

[laminas/laminas-soap

6221.8M37](/packages/laminas-laminas-soap)[besimple/soap-client

Build and consume SOAP Client based web services

582.2M14](/packages/besimple-soap-client)[besimple/soap

Build and consume SOAP and WSDL based web services

112560.2k2](/packages/besimple-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-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)
