定制 dexes/clearing-sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-21