Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

smartnathan's avatar

Fingerprint Capture and verification

I am building a hospital management system with Laravel, on my users table I have a field for fingerprint. I want to be able to get the users fingerprint as part of the registration process when they come to the hospital for the very first time. Please, how do I go about implementing the fingerprint part on the registration form?

0 likes
10 replies
click's avatar

I hope this is hobby project?

What do you expect from the fingerprint? What are you going to do with it?

There is no composer package that is going to give you this feature.... You first need some hardware to retrieve a fingerprint. Your web app should somehow communicate with this hardware or some in between API

I think google/stack overflow will give you better results than a Laravel forum because this ain't a Laravel specific issue.

https://stackoverflow.com/questions/3498945/fingerprint-authentication-for-php-web-app

1 like
smartnathan's avatar

Actually, the fingerprint will be used to quickly pull the patients' details without necessarily using any patient unique number. Also, for emergency in case the patient is not able to speak for some reasons.

1 like
Cronix's avatar

I want to be able to get the users fingerprint as part of the registration process

How do you plan on obtaining the fingerprint and inserting it into your form? You need to be able to read from the scanner somehow, assuming you're using a scanner (you didn't mention). There's also usually complicated software to do the fingerprint matching. It's not just an image it's storing. It's storing different data points from the fingerprint image, which it then uses to search a database for matches.

So, how do you plan on getting the fingerprint to begin with?

3 likes
smartnathan's avatar

I am looking at a situation whereby while the medical record officer is creating an account for a new patient. He enters the bio-data and all of that as well as capturing the patient's fingerprint. So, there will be a fingerprint scanner attached to the officer's laptop. So, my challenge here is being able to integrate it with Laravel. Such that on the registration form there will be an area for fingerprint capture. The Integration is my major challenge. I do appreciate all your help. Thank you.

fabricecw's avatar

Fingerprinters have their own system / application to handle and analyze the bio data. You have to find a vendor which provides an API to their fingerprinting system.

I'm not sure if it's even possible only with Laravel. Because then, the fingerprint would have to fire an API request on a scan event - you can't control an USB device out of Laravel because this is local client stuff.

Probably you need a local application (written in C# or whatever) which controls the fingerprint device and calls the API.

I found the following solution: https://www.bayometric.com/fingerprint-sdk-touch-n-go-fingerprint-software-api/

2 likes
doubleprincez's avatar

I have a simple solution for you but I was able to use it in a school project I did of resent, you can find it here: passage.id

doubleprincez's avatar

@wolrion I haven't tested it with any external device but I think if you have the right driver and your device is functioning with your PC, it will work

Please or to participate in this conversation.