PHPackages                             webit/soap-api - 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. webit/soap-api

ActiveLibrary[API Development](/categories/api)

webit/soap-api
==============

Web-IT SOAP API Tools

3.0.2(3y ago)123.6k↓34.4%18MITPHPPHP &gt;=7.4

Since Dec 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/dbojdo/soap-api)[ Packagist](https://packagist.org/packages/webit/soap-api)[ RSS](/packages/webit-soap-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (14)Used By (8)

SOAP API Library
================

[](#soap-api-library)

This library provides set of tools to ease building clients / SDK's for web services based on SOAP.

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

[](#installation)

Composer: add the **webit/soap-api** into **composer.json**

```
{
    "require": {
        "php": ">=5.4",
        "webit/soap-api": "~2.0"
    }
}
```

Tests
-----

[](#tests)

```
./vendor/bin/phpunit
```

Examples
--------

[](#examples)

Run Behat tests

```
./vendor/bin/behat
```

Then explore their implementation under ***features/***

Usage
-----

[](#usage)

### Build your very first SDK

[](#build-your-very-first-sdk)

The heart of the library is ***SoapApiExecutor*** with its only method ***executeSoapFunction($soapFunction, $input)***. It delegates to underlying ***\\SoapClient***.

Let's provide SDK for IP2Geo Web Service (WSDL can be found [here](http://ws.cdyne.com/ip2geo/ip2geo.asmx?WSDL))

```
