PHPackages                             technophilic/zkteco-laravel-sdk - 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. technophilic/zkteco-laravel-sdk

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

technophilic/zkteco-laravel-sdk
===============================

The technophilic/zkteco-laravel-sdk package provides easy to use functions to ZKTeco Device activities.

v1.1.10(10mo ago)0901MITPHPPHP ^8.0

Since Aug 11Pushed 10mo agoCompare

[ Source](https://github.com/technophilic-pvt-ltd/zkt-laravel-sdk)[ Packagist](https://packagist.org/packages/technophilic/zkteco-laravel-sdk)[ RSS](/packages/technophilic-zkteco-laravel-sdk/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (21)Used By (0)

zkteco-laravel-sdk - A SDK to ZKTeco devices
============================================

[](#zkteco-laravel-sdk---a-sdk-to-zkteco-devices)

The `technophilic/zkteco-laravel-sdk` package provides easy to use functions to ZKTeco Device activities.

**Requires:** **Laravel** &gt;= **11.0**

**License:** MIT or later

Installation:
-------------

[](#installation)

You can install the package via composer:

```
composer require technophilic/zkteco-laravel-sdk
```

```
php artisan zkteco:install
```

The package will automatically register itself.

You have to enable your php socket if it is not enabled.

Usage
-----

[](#usage)

1. Configuration

    Setup these two parameters in you .env file

```
    ZKTECO_IP = Your Device IP

    ZKTECO_PORT = Device Port (default: 4370)
```

2. Create a object of ZKTeco class.

```
    use Technophilic\ZKTecoLaravelSDK\ZKTeco;

    $zk = new ZKTeco();
```

3. Call ZKTeco methods

- **Connect**

```
    $zk->connect();   // returns bool
```

- **Disconnect**

```
    $zk->disconnect();   // returns bool
```

- **Device Version**

```
    $zk->version();
```

- **Device Os Version**

```
    $zk->osVersion();
```

- **Power Off**

```
    $zk->shutdown();
```

- **Restart**

```
    $zk->restart();
```

- **Sleep**

```
    $zk->sleep();
```

- **Resume**

```
    $zk->resume();
```

- **Voice Test**

```
    $zk->testVoice();
```

- **Platform**

```
    $zk->platform();
```

- **Serial Number**

```
    $zk->serialNumber();
```

- **Device Name**

```
    $zk->deviceName();
```

- **Get Device Time**

```
    $zk->getTime();

    // returns bool/mixed bool|mixed Format: "Y-m-d H:i:s"
```

- **Set Device Time**

```
    $zk->setTime();

    // parameter string $t Format: "Y-m-d H:i:s"
```

- **Get Users**

```
    $zk->getUser();
```

- **Set Users**

```
    $zk->setUser();

    //    set user

    //    1 s't parameter int $uid Unique ID (max 65535)
    //    2 nd parameter int|string $userid ID in DB (same like $uid, max length = 9, only numbers - depends device setting)
    //    3 rd parameter string $name (max length = 24)
    //    4 th parameter int|string $password (max length = 8, only numbers - depends device setting)
    //    5 th parameter int $role Default Util::LEVEL_USER
    //    6 th parameter int $cardno Default 0 (max length = 10, only numbers

    //    returns bool|mixed
```

- **Clear All Admin**

```
    $zk->clearAdmin();
```

- **Clear All Users**

```
    $zk->clearAdmin();
```

- **Remove A User**

```
    $zk->removeUser($uid);

    //  remove a user by $uid
    //  parameter integer $uid
    //  return bool|mixed
```

- **Get Attendance Log**

```
    $zk->getAttendance();   // returns array[]
```

- **Clear Attendance Log**

```
    $zk->clearAttendance();
```

end
===

[](#end)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance54

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

19

Last Release

320d ago

PHP version history (2 changes)v1.0.0PHP ^8.2

v1.1.3PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0cf74a91a95b05e8804d81198029afe83d7246e39cc936f0285ff2786e1611fc?d=identicon)[technophilic](/maintainers/technophilic)

---

Top Contributors

[![Ravi-arya009](https://avatars.githubusercontent.com/u/14244688?v=4)](https://github.com/Ravi-arya009 "Ravi-arya009 (73 commits)")

### Embed Badge

![Health badge](/badges/technophilic-zkteco-laravel-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/technophilic-zkteco-laravel-sdk/health.svg)](https://phpackages.com/packages/technophilic-zkteco-laravel-sdk)
```

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

592.7k2](/packages/crumbls-layup)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
