simple JQuery and PHP bassed event calender Just pass a url For Ajax In this call Sett your event response in jon
clone the repo event_url='' set this variable to your event url in calender.js
event_url='http://localhost/calender/event';
it will be like param will set automatically
http://localhost/calender/event?startdate=2023-00-00&enddate=2023-02-02&now=1672673053568
you just need to pass json data for your event or like this in php and set this url to event_url in j
$event=[
'id' => 1,
'name' => 'event name',
'startdate' => '2023-01-02',
"enddate" => '2023-01-06',
"starttime" => "12=>00",
"endtime" => "2=>00",
"color" => $this->COLOR[1],
"url" => 'https://google.com' // link for a.href in event
],
echo json_encode($event,true);