mdridzuan80/hrmisapi

使用wss消耗webservice api的库

v1.0.4 2017-10-05 03:29 UTC

This package is not auto-updated.

Last update: 2024-09-25 00:05:07 UTC


README

这是一个用于通过wss消耗webservice的库。特别适用于Hrmis webservice。不仅限于hrmis,还可以使用其他支持wss的webservice。

安装

Hrmisapi需要phpv5.3.+,php soap扩展,php xml扩展才能运行。

$ composer require mdridzuan80/hrmisapi

如何在代码中使用。

<?php
    use Hrmisapi\Hrmisapi;
    $hrmis = new Hrmisapi(<webservice url>, <username>, <password>);
    
    //you must look Available webservice function in WSDL file
    $hrmis->GetUserInfo()->xml(); // Output in xml format
    $hrmis->GetUserInfo()->arr(); // Output in array format
?>

联系方式

Md Ridzuan bin Mohammad Latiah md.ridzuan80@gmail.com