Laravel package for connect and get data from fingerprint Solution X100-C, X304, X302-S, X401, X601, C1
To install with Composer, simply require the latest version of this package.
composer require latansamashiro/fingerprint
Make sure that the autoload file from Composer is loaded.
composer dump-autoload
use Latansamashiro\Fingerprint\FingerPrint;
...
// example
$ip_address = "192.168.1.10";
$commkey = "0";
$port = "4370";
$fp_machine = new FingerPrint($ip_address, $commkey, $port);
// Check Connection to Machine FP (return Boolean)
$is_connect = $fp_machine->connect();
echo $is_connect;
// Get Data from Machine (return Array)
$data = $fp_machine->getData();
print_r($data);
MIT