12/05
2017
dev-master
9999999-dev
The Development Requires
by Patompong Savaengsuk
Wallogit.com
2017 © Pedro Peláez
Library to talk with Sedo API, (*1)
SedoClient\SedoServiceProvider::class
php artisan vendor:publish to publish configuration file, it will be located at /config/sedo.php (Note: You don't need to do this if you don't want to change anything in the configuration file.)SEDO_USERNAME= SEDO_PASSWORD= SEDO_PARTNER_ID= SEDO_SIGN_KEY=
You can inject the class to your method or use resolve helper, (*2)
Route::get('/inject', function (SedoClient\Sedo $sedo) {
dd($sedo);
});
Route::get('/inject-domain', function (SedoClient\SedoDomain $sedoDomain) {
dd($sedoDomain);
});
Route::get('/inject-resolve', function () {
$sedo = resolve('SedoClient\Sedo');
dd($sedo);
});