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

mrmojorising777's avatar

Implement ISBN reader into laravel project

I've been trying to get an ISBN scanner into my existing laravel project but with no success. Im new to all of it and even after reading documentation im lost.

Does anyone have a simple example of how I could scan an ISBN using my devices camera and simply log the number?

0 likes
4 replies
kokoshneta's avatar

If you’re talking about an app running in a browser, that’s not the easiest of tasks.

Browsers generally don’t just have access to the device’s camera – it requires that the user actively grant access to the camera.

Then there’s the issue of actually getting the camera to function as a barcode scanner rather than just a camera, I would guess mostly by extracting the barcode from the image server-side. Something like Scanapp manages it (just about), but it’s less than elegant and will probably still require a fair amount of work on your part.

mrmojorising777's avatar

@martinbean I have the .html and .js in my project but the .html makes an api call which requires https, for a public key. So I cannot test if it works

martinbean's avatar

@mrmojorising777 It makes a call to the Open Library as example. You’re meant to do your own logic once you’ve detected and parsed an ISBN from the camera.

Please or to participate in this conversation.