PHP code example of mdridzuan80 / hrmisapi

1. Go to this page and download the library: Download mdridzuan80/hrmisapi library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mdridzuan80 / hrmisapi example snippets

sh

    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