Registry / serialization / eluceo-ical

eluceo-ical

JSON →
library2.16.0phppackagistunverified

The eluceo/iCal package offers an abstraction layer for creating iCalendars. You can easily create iCal files by using PHP objects instead of typing your *.ics file by hand. The output will follow RFC 5545 as best as possible.

composer require eluceo/ical
INSTALL
IMPORT
SIG · ELUCEO-ICAL
E
eluceo-ical
serializationphpv2.16.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Calendar
use Eluceo\iCal\Domain\Entity\Calendar;

Create and output an iCalendar (.ics) file.

use Eluceo\iCal\Domain\Entity\Calendar; use Eluceo\iCal\Domain\Entity\Event; use Eluceo\iCal\Presentation\Factory\CalendarFactory; $calendar = new Calendar([new Event()]); $factory = new CalendarFactory(); echo $factory->createCalendar($calendar);
Debug
Known issues
breakingVersion 2.x has a completely different API from 1.x.
fix
Refer to the upgrade guide and use the new domain/presentation layer.
affects: >=2.0
Upgrade
Version history
2.16.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
eluceo-ical — pip install eluceo-ical · libregistry