⚠️ To ensure full functionality, the above dependencies might be required.
Package Description
The iCalendar Generator by Spatie simplifies the creation of iCalendar files in PHP, enabling developers to streamline event scheduling and management. With support for recurring events, alarms, and time zones, this library offers a robust solution for implementing calendar features in applications.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/spatie/icalendar-generator/3.0.0/loader.php';
require_once 'libs/spatie/array-to-ical/{lib_version}/loader.php';
require_once 'libs/spatie/data-transfer-object/3.9.1/loader.php';
use Spatie\iCalendarGenerator\Component;
use Spatie\iCalendarGenerator\Event;
$obj = new Component();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.