承接 smartprax/medidoc 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

smartprax/medidoc

最新稳定版本:1.1.3

Composer 安装命令:

composer require smartprax/medidoc

包简介

Laravel package package for Medidoc service.

README 文档

README

A Laravel package to use the Medidoc API.

You need an account to access the documentation and use the API.

Installation

composer require smartprax/medidoc

Configuration

Set the follwing variables in .env:

MEDIDOC_ENDPOINT="" # Defaults to 'https://test.medidoc.ch/webservices/MedidocSoapAccessV2.asmx?WSDL'
MEDIDOC_GLN=""
MEDIDOC_PASSWORD=""

Tests

Copy phpunit.xml.dist to phpunit.xml and set the env values:

<env name="MEDIDOC_GLN" value="" />
<env name="MEDIDOC_PASSWORD" value="" />

Run the tests:

composer test

Usage

The methods (SOAP functions) can be found in the Smartprax\Medidoc\Methods namespace and are implemented as Actions.

Meaning, you can just call the static run method, e.g.:

$can_connect = CheckConnection::run();

$insuranceListResponse = GetInsuranceList::run(
    new ArrayOfNameValue([
        new NameValue('Canton', 'AG'),
    ])
)

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 446
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-03