The process of adding a user to the device does not work in Laravel Those who can help provide the solution from the beginning of the process
this is my code...
use maliklibs\Zkteco\Lib\ZKTeco;
$zk = new ZKTeco('192.168.100.222',4370);
$zk->connect();
$zk->enableDevice();
$zk->setUser(1, '211', 'Carl', '5555', Util::LEVEL_USER, '0007909321');
$zk->disableDevice();
This is the package that I use https://github.com/sketchtechnologies1/zkteco/tree/main