File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 11Laravel SoapClient Wrapper
22===========================
33
4- A SoapClient wrapper integration for Laravel.<br />
4+ A SoapClient wrapper integration for Laravel / Lumen .<br />
55The documentation will be updated in time.
66
77Installation
88============
99
10+ ## Laravel
11+
1012Add ` artisaninweb/laravel-soap ` as requirement to composer.json
1113
1214``` javascript
@@ -29,6 +31,21 @@ To use the facade add this to the facades in `app/config/app.php`.
2931'SoapWrapper' => 'Artisaninweb\SoapWrapper\Facades\SoapWrapper'
3032```
3133
34+ ## Lumen
35+
36+ Open ` bootstrap/app.php ` and register the required service provider:
37+ ``` php
38+ $app->register(Artisaninweb\SoapWrapper\ServiceProvider::class);
39+ ```
40+
41+ register class alias:
42+ ``` php
43+ class_alias('Artisaninweb\SoapWrapper\Facades\SoapWrapper', 'SoapWrapper');
44+ ```
45+
46+ * Facades must be enabled.*
47+
48+
3249Usage
3350============
3451
You can’t perform that action at this time.
0 commit comments