PHP Soapclient in Laravel 5
The class needs to be imported, so either do that at the top:
use SoapClient;
or reference it directly later:
$client = new \SoapClient($wsdl, $options);
I faced with same problem.
I activated Soap extension after I use php artisan serve
command and although I restarted my apache server I received same error..
After too many tries I stop artisan and restart it again and that was the solution for me.