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

ibtdi's avatar
Level 1

How scanning Multiple QrCodes at one time ?

I have students module every student has qrcode my snario in app is In order to track the movement of the student on the bus to and from the school, the QR code is scanned by the supervisor, and it is difficult for the supervisor to scan one student after another. What is the best way to scan all the students at once?

0 likes
9 replies
Sinnbeck's avatar

So the teacher has to scan a physical qr code with their phone, and you need to scan them all at once? Maybe don't use qr codes? Rfid perhaps?

1 like
martinbean's avatar

it is difficult for the supervisor to scan one student after another. What is the best way to scan all the students at once?

@ibtdi But that’s the point of QR codes? They’re scanned. You can’t just magically scan multiple QR codes in one go.

Tray2's avatar

I think your scenario is something like this

  1. Student1's code is scanned.
  2. System does something
  3. System confirms the scan
  4. Student2's code is scanned
  5. System does something
  6. System confirms the scan
  7. And so on for each student.

You want it to behave something like this.

  1. Student1 is scanned
  2. Student2 is scanned
  3. Student3 is scanned
  4. Last student is scanned.
  5. System does something
  6. System confirms all scans.

If so you need to create some sort of array where you store each scan. Preferably in local storage in case something goes wrong. Then when every one is scanned you submit all of the values scanned to your backend.

1 like
martinbean's avatar

@Tray2 I wouldn’t bother. They posted this on Laracasts and haven’t bothered to response to the replies there either.

1 like
ibtdi's avatar
Level 1

@martinbean realy sorry , I didn't see the comments until after the page was refreshed

ibtdi's avatar
Level 1

@Tray2 I want till you the supervisor version app is only end-user so he has permissions to update students data

Tray2's avatar

@ibtdi In proper English please. I have no clue what you mean.

ibtdi's avatar
Level 1

@Tray2 I mean the supervisor alone who has the authority to update the students' data and not the students themselves

Tray2's avatar

@ibtdi Who said anything about students updating? The person scanning the cards sends the request when all scans are done. What you do with it after is up to you.

Please or to participate in this conversation.