Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caldav & Laraval #1533

Open
PinterMilan opened this issue Jan 22, 2024 · 0 comments
Open

Caldav & Laraval #1533

PinterMilan opened this issue Jan 22, 2024 · 0 comments

Comments

@PinterMilan
Copy link

Hi, I have a Laravel 9.* project with PHP 8.2, which functions as a calendar.
I have already installed and configured the Caldav server, so it is working. When i create an event in Thunderbird cal, then that event is stored in db.

I would like to synchronize the Thunderbird calendar with my Laravel calendar. My plan is that when the Thunderbird client requests events from the Caldav server, the Caldav server will send the stored events from the SabreDAV database, including the events stored by my Laravel Calendar in another database (MySQL).

I plan to convert the details of the events stored in my Laravel calendar into iCalendar format and merge the two event lists together. This way, Thunderbird will receive all corresponding events.

My question is: where can I find the code that manages event handling? When a synchronization request for events comes in, which code snippet is responsible for querying the database and sending the events to the Thunderbird client? I believe I should edit that snippet to merge and send the events.

Furthermore, when a user creates an event in their Thunderbird Calendar, Caldav will store it in the database. Which code snippet is responsible for storing the events in the database?

Thanks for your help in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant