Skip to content
Advertisement

Laravel 5 add nusoap

I am unable to install nusoap to my existing laravel 5 application. Ive done the following:

Created a new Folder in App/Http/Controllers/ – namend “Soap” – and copied the libary into it.

use

JavaScript

So i am able to use

JavaScript

But i am always getting an error:

JavaScript

I thought that laravel automatically load all classes from the “app” directory, but how can i use it here?

Tried with:

JavaScript

Thanks for any help!

Advertisement

Answer

Just add these lines to your controller:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement