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

CyrilBlankaert's avatar

Create a timeline step by step for events / point of interests

Hello,

I would like to create a Travel planner where the user can add events or points of interests of a town day by day (I already have towns events and towns interests in MySQL databases).

In my view, I see a sort of "timeline" where the user has Day1, Day2, Day3, ... where he can add steps (For example, in Day1 -> Step 1 : Visit the Cathedral, Day1 -> Step 2 : Museum, ...).

He selects from the database his "favorites" interests or events an add it to the timeline, and decide the hour to begin and the hour of the end of this step.

He'll be able to save this "trip" or share with other users.

In an advanced version, I would like to let the possibility to the user to add a custom title to the step.

But I don't know where to begin to create this ? Is there a Laravel package to do this ? Or something similar ? Or something to help me to begin this part of my website.

Thanks for your help !

(Sorry if my english is bad, I'm coming from belgium :p )

0 likes
1 reply
Tray2's avatar

I would create a guests_scheduled_events pivot table where can store the guest_id and the scheduled_event_id. Then in the events table I have all the events and in a scheduled_events table I'd store dates and event_id. In the guests table I would store the arrival_date and departure_date.

Please or to participate in this conversation.