jefflundberg / fastical
A fast PHP ical parser for vevents, based on msquare/Fastical
dev-master
2016-02-24 16:38 UTC
Requires
- simshaun/recurr: 0.*
This package is auto-updated.
Last update: 2025-03-11 15:55:19 UTC
README
A fast PHP ical parser for vevents.
Requirements
- PHP > 5.5
- Composer
Setup
In composer.json:
{
"require": {
"jefflundberg/fastical": "dev-master"
}
}
Usage
Include Composer’s autoloader
require 'vendor/autoload.php';
Get events from the next 7 days:
$f = new Fastical('events.ics');
print_r($f->getEvents(time(), time() + 7 * 24 * 60 * 60));