Download the PHP package raysulkobir/zkteco-laravel without Composer

On this page you can find all versions of the php package raysulkobir/zkteco-laravel. 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 zkteco-laravel

Zkteco Laravel Attendance library

This package easy to use functions to ZKTeco Device activities with laravel framework.

Requires: Laravel >= 10.0

License: MIT

About

Laravel ZKLibrary is a PHP library for ZK Time and Attendance Devices. This library supports reading and writing data to attendance devices (fingerprint, facial recognition, or RFID) over UDP protocol. This library enables direct communication between a web server and an attendance device without the need for additional programs. This library's implementation takes the form

of class. So that you can construct an object and then use its functions.

The web server must be connected to the attendance device via a Local Area Network (LAN). The UDP port utilized for this transmission is 4370. You cannot update this port without first updating the attendance device's software. Just use it.

The data format is binary, string, and numeric. The length of the parameter.

Installation

Begin by installing this package through Composer. Just run following command to terminal-

composer require raysulkobir/zkteco-laravel

Once this operation completes, the final step is to add the service provider. Open config/app.php, and add a new item to the providers array.

'providers' => [

        // .........................
         ZktecoServiceProvider::class,

    ]

If you want to change Zkteco settings , you need to publish its config file(s). For that you need to set ip address in the terminal-

php artisan vendor:publish

Usages

Create a object of ZKTeco class.
    use Raysulkobir\ZktecoLaravel\Lib\ZKTeco;;

//  1 s't parameter is string ip Device IP Address
//  2 nd  parameter is integer port Default: 4370

    $zk = new ZKTeco('192.168.1.210');

//  or you can use with port
//    $zk = new ZKTeco('192.168.1.210', 8080);

// Create database
// php artisan migrate
- Create table
   // finger_devices
   // employees
   // schedules
   // attendances
   // latetimes
   // leaves
   // overtimes
   // attendance_logs

   - Add schedules first.
   - Add employment

   - Get attendance
   // Current information Every guest receives this and a point request.
   // http://example-app.com/zkteco/get-attendance-log

   - Generate report
   // generate a report using current data
   // example-app.com/zkteco/get-attendanc
Call ZKTeco methods.

All versions of zkteco-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
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 raysulkobir/zkteco-laravel contains the following files

Loading the files please wait ....