I want to use php's built in SoapClient class in laravel 5
I tried using it directly is shows error saying
Class 'App\Http\Controllers\SoapClient' not found.
'SoapClient' => SoapClient::class
The class needs to be imported, so either do that at the top:
or reference it directly later:
$client = new \SoapClient($wsdl, $options);