Search by

ajangsupardi / zkteco-laravel

ajangsupardi

Laravel package for ZKTeco biometric attendance device integration via TCP 4370

Package info

github.com/ajangsupardi/zkteco-laravel

pkg:composer/ajangsupardi/zkteco-laravel

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-10-29 08:28 UTC

This package is auto-updated.

Last update: 2026-10-29 08:35:23 UTC


README

Latest Version on Packagist PHP Version Require Total Downloads License MIT

Laravel package for ZKTeco biometric attendance devices. Multi-device support with database storage and Artisan sync command.

Features

  • Multi-device support via zkteco_devices table
  • Migrations & Eloquent models for devices, users, attendance
  • Artisan command zkteco:sync for automated sync
  • Service Provider & Facade

Requirements

  • PHP ^8.2
  • ext-sockets
  • Laravel ^11.0|^12.0|^13.0

Installation

composer require ajangsupardi/zkteco-laravel
php artisan migrate

Usage

Add device:

use Rynest\Zkteco\Models\ZktecoDevice;
ZktecoDevice::create(['name'=>'main_gate','ip'=>'192.168.1.8','port'=>4370]);

Sync:

php artisan zkteco:sync --all

Query:

use Rynest\Zkteco\Models\ZktecoAttendance;
$logs = ZktecoAttendance::with('device')->get();

Changelog

See CHANGELOG.md

Contributing

See CONTRIBUTING.md

License

MIT. See LICENSE.