PHP code example of rithy / zkteco-adms

1. Go to this page and download the library: Download rithy/zkteco-adms library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

rithy / zkteco-adms example snippets


php artisan vendor:publish --tag=zkteco-adms-config

php artisan vendor:publish --tag=zkteco-adms-migrations

php artisan vendor:publish --tag=zkteco-adms-views

php artisan migrate

php artisan zkteco:sync-attendance

->withMiddleware(function (Middleware $middleware) {
    $middleware->validateCsrfTokens(except: [
        'iclock/*',
    ]);
})

config/zkteco-adms.php

php artisan route:list | grep iclock

php artisan optimize
php artisan config:cache
php artisan route:cache
php artisan queue:restart