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

Ajvanho's avatar
Level 14

Laravel's booking system - an eternal theme

Why is Laravel's booking system so secretive? Didn't find any examples on this topic? The main question is how to disable already booked dates from the database, when user create new booking.

0 likes
3 replies
bobbybouwmann's avatar

I'm not sure what you mean by "secretive"...

It depends a bit on your system, but normally you just provide an array with available dates or you do an ajax call to check if the date is available or not.

1 like
Ajvanho's avatar
Level 14

1)For the array, I suggested it be that way. Thanks for the suggestion for 2) ajax.

However, I don't know the exact way to do it. I want to say that there are thousands of examples for e-commerce system, that will be of help to us. But there is not one for this (booking) topic.

Please or to participate in this conversation.