Skip the boilerplate. The Cams Biometric Integrator is a downloadable starter backend โ in both PHP and Python โ that receives real-time punch logs and user updates from Cams devices, applies configurable day- and shift-based attendance policies, and writes to MySQL, MariaDB, PostgreSQL, MSSQL, or MongoDB.
Overview
A flexible reference implementation that bootstraps integration with the Cams Biometric Web API. It ships with a callback server entry point, day- and shift-attendance evaluators, a REST client for server-to-device operations, and a CLI tester for managing users and devices. Attendance rules live in a JSON config, environment settings in a config file and optional .env, and the database layer is pluggable across MySQL/MariaDB, PostgreSQL, MSSQL, and MongoDB. The PHP edition (PHP 7.4+, Composer) and Python edition (Python 3.8+, pip) ship as drop-in projects.
# PHP edition composer install && php callback-server.php # Python edition pip install -r requirements.txt && python callback_server.py # shift policy (JSON, no code) { "shift":"09:00-18:00", "grace_min":10, "db":"postgres" }
Capabilities
Deploy the callback server and start receiving punches immediately.
Define day and shift rules in JSON without touching code; falls back to defaults if absent.
One codebase targets MySQL, MariaDB, PostgreSQL, MSSQL, or MongoDB via a pluggable driver layer.
Manage and test users and devices interactively from the terminal.
Features
Grab a key, read the docs, and ship. Our team helps with your first integration.
FAQ
MySQL, MariaDB, PostgreSQL, MSSQL, and MongoDB, selected through a pluggable database driver layer.
Yes. It ships as both a PHP project (PHP 7.4+, Composer) and a Python project (Python 3.8+, pip), with equivalent structure and features.
Related
A C++ SDK that connects to Cams 620-class attendance and biometric devices over TCP to manage users, templates, and attendance logs.
ExploreAPIConnect any internet-enabled biometric attendance or access-control device directly to your web application over HTTP โ no local software, PC, or database required.
ExploreENGINEServer-side face enroll, 1:1 verify, and 1:N identify over REST โ with built-in ArcFace embedding, SCRFD detection, alignment, and anti-spoofing.
Explore