Skip to content
Michael v/d Rijt edited this page Nov 15, 2016 · 1 revision

Installation

Laravel

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

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

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\Facades\SoapWrapper'

Lumen

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

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

register class alias:

class_alias('Artisaninweb\SoapWrapper\Facades\SoapWrapper', 'SoapWrapper');

Facades must be enabled.

Clone this wiki locally