Basic iCal parser

1.0.2 2020-07-28 13:27 UTC

This package is auto-updated.

Last update: 2024-11-28 22:49:29 UTC


README

A basic iCal parser.

Install

preferred method is Composer

composer require exussum12/ical

Use

in your PHP file, there are a few ways to call, depending on where your iCal is stored.

Eg iCal over HTTP

$cal = new exussum12\Ical\IcsUrl('http://yourdomain/ical.ics')
foreach ($cal->getEvents() as $event) {
    var_dump ($event->getStart());
}