PHP code example of athwari / filament-zkteco-adms

1. Go to this page and download the library: Download athwari/filament-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/ */

    

athwari / filament-zkteco-adms example snippets


use Athwari\FilamentZktecoAdms\FilamentZktecoAdmsPlugin;
use Filament\Panel;

public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->plugin(FilamentZktecoAdmsPlugin::make());
}

'timezone_options' => [],

'timezone_options' => [
    'UTC',
    'Asia/Aden' => 'Yemen',
],
bash
php artisan vendor:publish --tag="filament-zkteco-adms-config"
bash
php artisan vendor:publish --tag="zkteco-adms-migrations"
php artisan vendor:publish --tag="filament-zkteco-adms-migrations"
php artisan migrate