ZKTeco Device Software

Full User Manual & Installation Guide

Introduction

This software connects your ZKTeco attendance device to the school management system built with PHP and Laravel. It allows automatic student attendance synchronization directly from the device to your web application.

It is compatible with WAMP, XAMPP, or Laragon environments running PHP 8.3+ and Composer. This document explains how to install, configure, and automatically start the software every time your computer boots.

System Requirements

Installation Steps

  1. Install XAMPP or Laragon on your Windows computer.
  2. Clone or extract the project folder (for example: G:\attendance-zkteco).
  3. Open Command Prompt and navigate to the project folder:
    cd G:\attendance-zkteco
  4. Run the following commands one by one:
    composer install
            php artisan key:generate
            php artisan migrate
  5. Ensure your ZKTeco device IP and credentials are configured properly in the application.

Run the Project Manually

Once installed, you can run the software using the built-in BAT file. This automatically starts the Laravel server and attendance sync command.

📄 BAT File Example:

@echo off
        :: Change to your project directory
        cd /d G:\attendance-zkteco

        :: Optional: Set PHP path if not in system PATH
        :: set PATH=C:\xampp\php;%PATH%

        :: Start Laravel development server
        start "Laravel Server" php artisan serve --host=127.0.0.1 --port=8000

        :: Start Attendance Sync Command
        start "Attendance Sync" php artisan zkteco:sync

        :: Keep the window open
        pause

Save this file as:

G:\attendance-zkteco\start_attendance.bat

You can now double-click this file to start everything automatically.

Auto Startup Setup (Run Automatically on Boot)

  1. Press Windows + R to open the Run dialog.
  2. Type shell:startup and press Enter.
  3. This will open your system’s Startup Folder.
  4. Create a shortcut here pointing to:
    G:\attendance-zkteco\start_attendance.bat
  5. Now, every time Windows starts, the system will:
    • Launch Laravel server
    • Start the ZKTeco attendance sync process
    • Run silently in the background

Important Notes

Troubleshooting

Step 1: Configure Device IP

First, change the IP configuration on your ZKTeco device. Do not delete existing configurations, just edit the IP to match your network. Make sure the device is reachable from your server.

Configure Device IP

Step 2: Set Base URL in School Software

Go to /system/school-device in your school software. Select the device and enter the API base URL. Then, check if the device is connected and sync all student data for the first time. Always verify the connection before proceeding to ensure accurate attendance tracking.

Set Base URL

Step 3: Run Software & Sync Data

After configuration, run the project using the provided .bat file. The software will automatically sync device data in real-time. You can also set your profile picture, password, and software settings from the profile section. The first-time sync must be done manually to populate all student data.

Run Software & Sync Data

Dashboard

The Dashboard is the central control panel of the software. From here, users can:

Dashboard

Device Management

From the Device Management menu, you can:

If there is an attendance sync issue, you can manually fetch the data from the device to the live system at any time.

Device Management

Device Users

From this menu, you can manage all users added to a device:

Device Users

Settings & Profile

In the Settings menu, you can:

Settings & Profile Settings & Profile