Has anyone built an ‘ics calendar’ generator?

Has anyone built an ‘ics calendar’ generator? A client has asked for something very similar to this DPD email where an ics calendar download file is included within an email. It would seem that the file is included at the bottom of the email and, in this instance, GoogleMail reads the file and displays the calendar info at the top of the email, with a link to add the calendar event to GoogleCalendar.

And this is the content of the ics file

BEGIN:VCALENDAR
CALSCALE:GREGORIAN
VERSION:2.0
X-WR-CALNAME:DPD Delivery
METHOD:PUBLISH
PRODID:-//DPDgroupUK///NONSGML v1.0//EN
BEGIN:VEVENT
TRANSP:OPAQUE
UID:20230121T083400-yourdelivery@dpd.co.uk
DTSTAMP:20230121T083400
LOCATION:** delivery address **
DESCRIPTION:XXXXX
URL;VALUE=URI:https://www.dpd.co.uk/d/6d3L9wqxUxsxcvu
SEQUENCE:0
SUMMARY:DPD Delivery
DTSTART:20230121T100800
DTEND:20230121T110800
ORGANIZER;CN=DPD:mailto:yourdelivery@dpd.co.uk
CREATED:20230121T083400
END:VEVENT
END:VCALENDAR

I am using PHP and not Nodejs. I have seen and read the “Create a live iCalendar feed (ics)” with the ics-modules created and adapted by @mebeingken and @mozzi? I really do not know if I can use their module in my case.

Can anyone advise further?