PHP Package: spatie/icalendar-generator

Spatie's iCalendar Generator provides PHP functionalities for creating iCalendar files, enhancing event scheduling and time management.

Current Version: 2.9.1
Last Updated: 2025-01-31
PHP Requirement: ^8.1
Dependencies:
spatie/array-to-ical
spatie/data-transfer-object
⚠️ 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.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.0.0

Clock Coming soon

Previous Versions

Code Integration Example

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.