PHP code example of eddiekidiw / demo-hmsc

1. Go to this page and download the library: Download eddiekidiw/demo-hmsc 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/ */

    

eddiekidiw / demo-hmsc example snippets




asses\Admin;
use Classes\User;

$Admin = new Admin();
$User = new User();

$Admin->SetAdminName("PHP admin");
echo $Admin->GetAdminName();
var_dump($Admin);

$User->SetUserName("PHP user");
echo $User->GetUserName();
var_dump($User);