Requirements
These are the exact requirements declared in the package's composer.json.
PHP
| Requirement | Version |
|---|---|
| PHP | ^8.1 |
ext-json | Any (bundled with most PHP installs) |
Composer dependencies
Installed automatically when you run composer require tes/biotime-sdk:
| Package | Constraint | Used for |
|---|---|---|
guzzlehttp/guzzle | ^7.0 | HTTP client for all API requests |
psr/simple-cache | ^1.0 | ^2.0 | ^3.0 | Optional token caching (any PSR-16 cache implementation) |
Optional dependency
| Package | Constraint | Needed for |
|---|---|---|
illuminate/support | ^10.0 | ^11.0 | The Laravel service provider only. Not required for plain PHP usage. |
BioTime server / device
You need a ZKTeco BioTime server or device that is:
- Reachable over HTTP or HTTPS from wherever your PHP application runs.
- Configured with an API username and password capable of obtaining a device token from
/api-token-auth/.
TIP
The SDK does not open any connection until you call a resource method — constructing BioTime never touches the device.
Next step
Continue to Installation.