exussum12 / ical
Basic iCal parser
1.0.2
2020-07-28 13:27 UTC
Requires (Dev)
- phpunit/phpunit: ^6.5|^7.0|^8.0|^9.0
This package is auto-updated.
Last update: 2024-10-28 22:39:53 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());
}