mdridzuan80/hrmisapi

Library for consume webservice api with wss

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

This package is not auto-updated.

Last update: 2025-04-23 02:41:29 UTC


README

This is library for consume webservice with wss. Especialy Hrmis webservice. Not for hrmis only but also can use another webservice with wss.

Installation

Hrmisapi requires phpv5.3.+, php soap ext, php xml ext to run.

$ composer require mdridzuan80/hrmisapi

How to use in code.

<?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
?>

Contact

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