-
Notifications
You must be signed in to change notification settings - Fork 122
Installation
Michael v/d Rijt edited this page Nov 15, 2016
·
1 revision
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'
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.