The module can generate basic ICS calendar strings and files.
Usage Example:
// get the module
$icsgen = wire()->modules->IcsGenerator;
// create a new event using date strings
$myEvent = [
'summary' => 'Christmas 2033',
'dtstart' => '2033-12-24 18:00',
'dtend' => '2033-12-24 22:00',
'location' => 'North pole',
'url' => 'https://san.ta',
'description' => 'Ho ho ho',
];
// add to events
$icsgen->events->add($myEvent);
// get the path to a temporary .ics file
$path = $icsgen->getFile();
// send email with ics file
$mail = wireMail();
$mail->attachment($path, 'calendar.ics');
$mail->to($user->email);
$mail->subject('ICS Demo');
$mail->body('This is a ICS demo.');
$numSent = $mail->send();
For more info and examples see GitHub Readme or Modules Page. If you experience reproducable issues please open a GitHub issue.