PHPackages                             digitaladditive/laravel-soap-fork - 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. digitaladditive/laravel-soap-fork

ActiveLibrary[API Development](/categories/api)

digitaladditive/laravel-soap-fork
=================================

A SoapClient wrapper integration for Laravel

0.3.0.9(7y ago)05MITPHPPHP &gt;=5.4.0

Since Aug 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/patrickisgreat/laravel-soap)[ Packagist](https://packagist.org/packages/digitaladditive/laravel-soap-fork)[ RSS](/packages/digitaladditive-laravel-soap-fork/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (29)Used By (0)

Laravel SoapClient Wrapper
==========================

[](#laravel-soapclient-wrapper)

A SoapClient wrapper integration for Laravel.
Makes it easy to use Soap in a Laravel application.

Please report any bugs or features here:

Installation
============

[](#installation)

Laravel
-------

[](#laravel)

\####Installation for Laravel 5.2 and above:

Run `composer require artisaninweb/laravel-soap`

Add the service provider in `app/config/app.php`.

```
Artisaninweb\SoapWrapper\ServiceProvider::class,
```

To use the alias, add this to the aliases in `app/config/app.php`.

```
'SoapWrapper' => Artisaninweb\SoapWrapper\Facade\SoapWrapper::class,
```

\####Installation for Laravel 5.1 and below :

Add `artisaninweb/laravel-soap` as requirement to composer.json

```
{
    "require": {
        "artisaninweb/laravel-soap": "0.3.*"
    }
}
```

> If you're using Laravel 5.5 or higher you can skip the two config setups below.

Add the service provider in `app/config/app.php`.

```
'Artisaninweb\SoapWrapper\ServiceProvider'
```

To use the facade add this to the facades in `app/config/app.php`.

```
'SoapWrapper' => 'Artisaninweb\SoapWrapper\Facade'
```

Lumen
-----

[](#lumen)

Open `bootstrap/app.php` and register the required service provider:

```
$app->register(Artisaninweb\SoapWrapper\ServiceProvider::class);
```

register class alias:

```
class_alias('Artisaninweb\SoapWrapper\Facade', 'SoapWrapper');
```

*Facades must be enabled.*

Usage
=====

[](#usage)

How to add a service to the wrapper and use it.

```
