Download the PHP package mehedijaman/laravel-zkteco without Composer
On this page you can find all versions of the php package mehedijaman/laravel-zkteco. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mehedijaman/laravel-zkteco
More information about mehedijaman/laravel-zkteco
Files in mehedijaman/laravel-zkteco
Package laravel-zkteco
Short Description Connect any zkteco fingerprint attendance machine to laravel application with no effort.
License MIT
Homepage https://github.com/mehedijaman/laravel-zkteco
Informations about the package laravel-zkteco
Laravel ZKTeco Integration
Overview
The Laravel ZKTeco package provides an easy way to integrate ZKTeco biometric devices with your Laravel application. This package simplifies the process of connecting to ZKTeco devices, fetching attendance logs, and managing user data.
Features
- Easy Integration: Seamlessly connect your Laravel application with ZKTeco biometric devices.
- Attendance Management: Fetch and manage attendance logs from connected devices.
- User Management: Add, update, and remove users on the biometric device directly from your application.
- Real-time Data Sync: Ensure that your application always has the latest attendance data.
Installation
You can install the package via composer:
The package is designed to automatically register itself upon installation.
Please ensure that the PHP sockets extension is enabled on your server. If it is not enabled, you will need to activate it.
Activate PHP Socket
Ensure that the PHP sockets extension is enabled on your server. If it is not enabled, follow these steps to activate it:
Locate the php.ini File: The php.ini file's location depends on your PHP installation. Common locations include:
- /etc/php/8.x/cli/php.ini (for CLI)
- /etc/php/8.x/apache2/php.ini (for Apache)
- /etc/php/8.x/fpm/php.ini (for PHP-FPM)
Edit the php.ini File: Open the php.ini file in a text editor with superuser privileges:
Uncomment the Sockets Extension: Find the following line:
Remove the semicolon (;) to uncomment the line:
Save and Exit: Save the changes and exit the editor (Ctrl + X, Y, Enter).
Restart the Web Server: Restart the web server to apply the changes:
Usage
Instantiate the LaravelZkteco Object.
Call ZKTeco methods
-
Connect
-
Disconnect
- Enable Device
NOTE: You have to call after read/write any info of Device.
- Disable Device
NOTE: You have to call before read/write any info of Device.
-
Device Version
-
Device Os Version
-
Power Off
-
Restart
-
Sleep
-
Resume
-
Voice Test
-
Platform
-
Firmware Version
-
Work Code
-
SSR
-
Pin Width
-
Serial Number
-
Device Name
-
Get Device Time
-
Set Device Time
-
Get Users
-
Set Users
-
Clear All Admin
-
Clear All Users
-
Remove A User
-
Get Attendance Log
- Clear Attendance Log
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-zkteco with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0