Releases: coding-libs/zkteco-php
Releases · coding-libs/zkteco-php
v0.0.34
v0.0.33
I am developing a self-hosted custom iClock web software. For iClock, the pushcommkey is optionally used for authentication purposes. Therefore, I have introduced the following methods:
setPushCommKey()
Set PushCommandKey
Example:
$zktecoLib->setPushCommKey('TokenComnKey'); getPushCommKey()
Retrieve PushCommKey.
Example:
$zktecoLib->getPushCommKey('); // Returns: "TokenComnKey"v0.0.30
🚀 Introducing the following methods:
getDeviceData()
Retrieve any supported device parameter based on the ZKTeco protocol.
Example:
$zktecoLib->getDeviceData('TCPPort'); // Returns: "4370"getDeviceId()
Retrieve device ID.
Example:
$zktecoLib->getDeviceId('TCPPort'); // Returns: "0"setCustomData()
Set any custom key-value pair into the device's memory.
Example:
$zktecoLib->setCustomData('my_company_name', 'Coding Labs'); getCustomData()
Retrieve custom data previously stored using setCustomData().
Example:
$zktecoLib->getCustomData('my_company_name'); // Returns: "Coding Labs"```
v0.0.29
[0.0.28] Adding CMD Key support
[0.0.29] Fixing Type hint