PHPackages                             mshadydev/zkteco-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mshadydev/zkteco-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mshadydev/zkteco-php
====================

A comprehensive PHP library for connecting to and extracting data from ZKTeco fingerprint attendance devices. Supports user management, attendance records extraction, and device information retrieval.

22541PHP

Since Jan 10Pushed 4mo agoCompare

[ Source](https://github.com/mshadydev/zkteco-php)[ Packagist](https://packagist.org/packages/mshadydev/zkteco-php)[ RSS](/packages/mshadydev-zkteco-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ZKTeco PHP Library
==================

[](#zkteco-php-library)

[![PHP Version](https://camo.githubusercontent.com/3294914c61dc5d766feda54ef3f020110cb3200d82f3e63b5fe0fcf876cc7d59/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344372e302d626c75652e737667)](https://php.net/)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![Packagist](https://camo.githubusercontent.com/10d1cb6adf76cc8581d88f2bbcb85f0db624db41c54d83b4be36f8cfd2bb31e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d73686164796465762f7a6b7465636f2d7068702e737667)](https://packagist.org/packages/mshadydev/zkteco-php)[![Downloads](https://camo.githubusercontent.com/6aefd763bf25573f7792d1fd53903df695d7948041ec3e6e27618f0f6a07a5b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d73686164796465762f7a6b7465636f2d7068702e737667)](https://packagist.org/packages/mshadydev/zkteco-php)

A comprehensive PHP library for connecting to and extracting data from ZKTeco fingerprint attendance devices. This library provides a complete implementation of the ZKTeco protocol, enabling you to retrieve user data, attendance records, and device information.

✨ Features
----------

[](#-features)

- 🔌 **Full Protocol Support** - Complete ZKTeco TCP/UDP communication protocol
- 👥 **User Management** - Extract user information, privileges, and access cards
- 📊 **Attendance Records** - Retrieve detailed attendance logs with timestamps
- 🔐 **Authentication** - Support for password-protected devices
- 📁 **Multiple Export Formats** - CSV, JSON export capabilities
- 🌐 **Cross-Platform** - Works on Windows, Linux, and macOS
- 🚀 **Production Ready** - Tested with real ZKTeco devices

📋 Requirements
--------------

[](#-requirements)

- PHP &gt;= 7.0
- PHP Sockets extension (`ext-sockets`)
- Network access to ZKTeco device

📦 Installation
--------------

[](#-installation)

### Via Composer (Recommended)

[](#via-composer-recommended)

```
composer require mshadydev/zkteco-php
```

### Manual Installation

[](#manual-installation)

1. Download the library files
2. Include the ZKTeco class in your project:

```
require_once 'src/ZKTeco.php';
```

🚀 Quick Start
-------------

[](#-quick-start)

### Basic Usage

[](#basic-usage)

```

```

### Complete Data Extraction

[](#complete-data-extraction)

```
