Skip to content

Requirements

These are the exact requirements declared in the package's composer.json.

PHP

RequirementVersion
PHP^8.1
ext-jsonAny (bundled with most PHP installs)

Composer dependencies

Installed automatically when you run composer require tes/biotime-sdk:

PackageConstraintUsed for
guzzlehttp/guzzle^7.0HTTP client for all API requests
psr/simple-cache^1.0 | ^2.0 | ^3.0Optional token caching (any PSR-16 cache implementation)

Optional dependency

PackageConstraintNeeded for
illuminate/support^10.0 | ^11.0The 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.

Distributed under the MIT License.