I want to add soap service to my laravel 5.3 project.I have added service provider in config/app.php
'aliases' => [
'SoapWrapper' => Artisaninweb\SoapWrapper\ServiceProvider::class,
'SoapClient' => SoapClient::class,
],
In bootstrap/app,php I have added
$app->register(Artisaninweb\SoapWrapper\ServiceProvider::class);
my composer.json is like
"require": {
"php": ">=5.6.4",
"laravel/framework": "5.3.*",
"laravelcollective/html": "^5.3.0",
"artisaninweb/laravel-soap": "0.2.5.10",
"hashids/hashids": "^1.0",
"maatwebsite/excel": "~2.1.0"
},
In my controller
use Artisaninweb\SoapWrapper\Facades\SoapWrapper;
use SoapClient;
and cleared cache as and composer
composer dumpautoload -o
composer clearcache
Still I'm getting a fatal error
Fatal error: Class 'Artisaninweb\SoapWrapper\ServiceProvider' not found in C:\wamp64\www\pjct_name\vendor\laravel\framework\src\Illuminate\Foundation\Application.php on line 610
What I have missed
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jkgKl5
via IFTTT
Aucun commentaire:
Enregistrer un commentaire