Wallogit.com
2017 © Pedro Peláez
A simple Laravel interface for interacting with the Didww API.
NOTE: This package is no longer in active development. Feel free to fork and extend it as needed., (*1)
A simple Laravel interface for interacting with the Didww API., (*2)
To install the package, simply add the following to your Laravel installation's composer.json file:, (*3)
"require": {
"laravel/framework": "5.*",
"blob/laravel-didww": "dev-master"
},
Run composer update to pull in the files., (*4)
Then, add the following Service Provider to your providers array in your config/app.php file:, (*5)
'providers' => array(
...
Didww\Providers\DidwwServiceProvider::class
);
From the command-line run:
php artisan vendor:publish, (*6)
Open config/didww.php and configure the api endpoint and credentials:, (*7)
return [
// WSDL URL
'url' => 'https://url.com/APIService.asmx?wsdl',
// WSDL USERNAME
'username' => 'username',
// WSDL KEY
'key' => 'user_key',
//WSDL in Test Mode
'test' => true,
];
$details = Didww::getDidwwApiDetails();