PHPackages                             carlosafonso/soapi - 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. carlosafonso/soapi

ActiveLibrary[API Development](/categories/api)

carlosafonso/soapi
==================

An enhanced, drop-in replacement for PHP's native SOAP library

0.1.0(10y ago)0609MITPHPPHP ~5.5|~7.0

Since Feb 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/carlosafonso/soapi)[ Packagist](https://packagist.org/packages/carlosafonso/soapi)[ Docs](https://github.com/carlosafonso/soapi)[ RSS](/packages/carlosafonso-soapi/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

soapi
=====

[](#soapi)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a9546e7417fe1e519b80b6fda4aa70675b1d0d0f860182b193f15d8e764036a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6361726c6f7361666f6e736f2f736f6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/carlosafonso/soapi)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/bb472b5469221aa7ef9b3ec6c34c3b8f060cb38f5145ba04d240aed91019df69/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6361726c6f7361666f6e736f2f736f6170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/carlosafonso/soapi)[![Coverage Status](https://camo.githubusercontent.com/b27f37b26d023a633efcc7382c5ff4b659605425f2e4008d31defba7a2b9dc6c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6361726c6f7361666f6e736f2f736f6170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/carlosafonso/soapi/code-structure)[![Quality Score](https://camo.githubusercontent.com/7d4580bf986e1b32e640609be595a029f5d00fd541818feb8ece950cc958d448/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6361726c6f7361666f6e736f2f736f6170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/carlosafonso/soapi)[![Total Downloads](https://camo.githubusercontent.com/b37f6aa02d36a1fb67d86cc30243f759d328137c47fa226485874646090bb4bf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6361726c6f7361666f6e736f2f736f6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/carlosafonso/soapi)

An enhanced, drop-in replacement of PHP's SOAP library.

PHP's native SOAP library will do the trick most of the time, but it falls somewhat short when you need to do complex stuff with your SOAP flow, such as implementing WSSE or doing some logging. This library is a drop-in replacement that allows defining custom pipelines for manipulating and working with requests and responses. Additional improvements, such as better error handling, are on the works.

Install
-------

[](#install)

Via Composer

```
$ composer require carlosafonso/soapi
```

Usage
-----

[](#usage)

(TBC)

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email the author instead of using the issue tracker.

Credits
-------

[](#credits)

- [Carlos Afonso](https://github.com/carlosafonso)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

3798d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/298322ba620ba6518bce36e896723f1f771c4ee6257ab49548c45dcb06e2b9ce?d=identicon)[carlosafonso](/maintainers/carlosafonso)

---

Top Contributors

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

---

Tags

soap

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/carlosafonso-soapi/health.svg)

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

###  Alternatives

[laminas/laminas-soap

6223.6M41](/packages/laminas-laminas-soap)[gusapi/gusapi

Gus Api Library for PHP

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

A SoapClient wrapper integration for Laravel

223554.0k3](/packages/codedredd-laravel-soap)[afipsdk/afip.php

Libreria para usar los Web Services de AFIP (Argentina)

290134.6k5](/packages/afipsdk-afipphp)[besimple/soap-client

Build and consume SOAP Client based web services

582.3M14](/packages/besimple-soap-client)[viewflex/zoap

For quickly deploying SOAP services in Laravel and Lumen, with auto-discovery of WSDL definitions.

61196.1k](/packages/viewflex-zoap)

PHPackages © 2026

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