dexes/clearing-sdk
最新稳定版本:0.7.1
Composer 安装命令:
composer require dexes/clearing-sdk
包简介
Dexes package providing a SDK for interacting with the Clearing component.
README 文档
README
gitlab.com/dexes.eu/clearing-sdk
Dexes package providing a SDK for interacting with the Clearing component.
License
View the LICENSE.md file for licensing details.
Installation
Installation of ...
composer require dexes/catalog-sdk
Usage
Laravel
Add the following code to the AppServiceProvider.
$this->app->bind(HttpRequestService::class, function() {
return new HttpRequestService(
'https://policystore.dev.dexes.eu',
$this->app->make(ClientInterface::class),
$this->app->make(RequestFactoryInterface::class),
$this->app->make(StreamFactoryInterface::class),
);
});
$this->app->bind(AuthRepository::class, function() {
return new AuthRepository(
$this->app->make(HttpRequestService::class),
config('services.ishare.satellites.DMI.x5c'),
'NL.EORI.LIFEELEC4DMI',
config('services.ishare.clientId'),
config('services.ishare.satellites.DMI.private-key')
);
});
$this->app->bind(ClearingSdk::class, function() {
return new ClearingSdk(
$this->app->make(HttpRequestService::class),
$this->app->make(AuthRepository::class),
$this->app->make(LoggerInterface::class),
$this->app->make(CacheInterface::class),
);
});
Drupal
We will create a Drupal Module which will be available here as soon as it is published
统计信息
- 总下载量: 2.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-21