Download the PHP package olorunda/laravel-zkteco-push without Composer

On this page you can find all versions of the php package olorunda/laravel-zkteco-push. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-zkteco-push

ZKTeco ADMS Push SDK Laravel Package & REST API Interpreter Bridge

Latest Version on Packagist Total Downloads

A clean, native Laravel Package (olorunda/laravel-zkteco-push) that acts as an interpreter bridge between ZKTeco Biometric Devices (Fingerprint, Face, Palm, RFID Access Control) and any External Application / API (HR, ERP, Payroll System).


๐Ÿš€ Key Package Features


๐Ÿ“ฆ Installation

Step 1: Install Package via Composer

Or for local development in your main Laravel composer.json:

Step 2: Publish Configuration & Migrations


โš™๏ธ Environment Configuration (.env)


๐Ÿ”’ Protecting the Admin UI with Auth Middleware

You can secure the /zkteco/admin dashboard behind Laravel's standard auth middleware or custom authorization guards by updating config/zkteco-push.php:

Or via environment variable:


โšก Using the ZkTecoPush Facade

Array Payload Syntax:

Fluent Device Chaining Syntax:


๐ŸŽง Detailed Examples of Available Laravel Events

The package automatically fires native Laravel events whenever connected biometric machines push data or execute commands. You can attach queued listeners or event callbacks in your AppServiceProvider or EventServiceProvider.


1. AttendancePushed Event

Fired in real time whenever an employee scans a fingerprint, face, palm, RFID card, or enters a password on any ZKTeco terminal.

Listener Callback Example:

Dedicated Queued Listener Class Example (app/Listeners/ProcessZkTecoPunch.php):


2. DeviceHeartbeat Event

Fired whenever a ZKTeco biometric device connects to the server, completes an initial ADMS handshake, or sends a periodic ping.

Listener Callback Example:


3. CommandExecuted Event

Fired when a hardware machine finishes executing a queued command (such as user creation, user deletion, delayed deletion, device reboot, or log clearance).

Listener Callback Example:


๐Ÿญ Production-Ready Integration Guide

Below is a complete, production-grade implementation pattern for real-world Laravel applications. Reference file: ProductionLaravelExample.php.

1. Queued Event Listener (app/Listeners/SyncBiometricAttendanceListener.php)


2. Employee Management Controller (app/Http/Controllers/BiometricEmployeeManagementController.php)


๐Ÿงช Running Tests

Run the PHPUnit test suite using Composer:

Or run PHPUnit directly:


All versions of laravel-zkteco-push with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/database Version ^9.0|^10.0|^11.0|^12.0
illuminate/http Version ^9.0|^10.0|^11.0|^12.0
illuminate/routing Version ^9.0|^10.0|^11.0|^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package olorunda/laravel-zkteco-push contains the following files

Loading the files please wait ...