Skip to content
/ am05zk Public

PHP library for communicating with ZKFinger SDK

Notifications You must be signed in to change notification settings

am05mhz/am05zk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

am05zk

PHP library for communicating with ZKFinger SDK

License

The software licensed under the MIT license

Notes

This project only support a subset of the undocumented (or poorly documented) ZKFinger SDK. The SDK have lots of version that differs in the transmitted data structure, hence it would need some adjustment according to your device.

Requirements

This library relies on PHP SOAP, PHP Socket, and PHP cURL extentions to work properly.

Usage

include 'am05zk.php';

$ip = '10.11.12.13';                     //ip of fingerprint scanner

$zk = new am05zk($ip);

if ($zk->connect()){
	//connection successfull
	
	$version = $zk->get_version();       // get the firmware version
	$users = $zk->get_users();           // get list of users
	$attendance = $zk->get_attendance(); // get all attendance records in the device
	$zk->clear_attendance();             // clear all the attendance record in the device
	
	$zk->disconnect();
} else {
	//connection fail
}

About

PHP library for communicating with ZKFinger SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages