Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/raihanafroz/zkteco
Browse files Browse the repository at this point in the history
  • Loading branch information
raihanafroz committed Nov 21, 2021
2 parents 9437cc4 + 760b8c3 commit 6e17024
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ composer require rats/zkteco
```
The package will automatically register itself.

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


## Usage

Expand Down Expand Up @@ -261,6 +263,14 @@ The package will automatically register itself.

// return array[]

// like as 0 => array:5 [▼
// "uid" => 1 /* serial number of the attendance */
// "id" => "1" /* user id of the application */
// "state" => 1 /* the authentication type, 1 for Fingerprint, 4 for RF Card etc */
// "timestamp" => "2020-05-27 21:21:06" /* time of attendance */
// "type" => 255 /* attendance type, like check-in, check-out, overtime-in, overtime-out, break-in & break-out etc. if attendance type is none of them, it gives 255. */
// ]

$zk->getAttendance();
```

Expand All @@ -279,4 +289,4 @@ The package will automatically register itself.



# end
# end

0 comments on commit 6e17024

Please sign in to comment.