PHP iCal Parser

GitHub Workflow Status Latest Stable Version Total Downloads Latest Unstable Version License

Internet Calendaring Parser rfc2445 or iCal parser is simple PHP 7.4+ class for parsing format into array.

How to install

composer require om/icalparser


use om\IcalParser;
require_once '../vendor/autoload.php';

$cal = new IcalParser();
$results = $cal->parseFile(

foreach ($cal->getSortedEvents() as $r) {
    echo sprintf('    <li>%s - %s</li>' . PHP_EOL, $r['DTSTART']->format('j.n.Y'), $r['SUMMARY']);


  • PHP 7.4+

Run tests

iCal parser using Nette Tester. The tests can be invoked via composer.

composer update
composer test



Just simple icalendar parser

Icalparser Info

⭐ Stars53
🔗 Source
🕒 Last Updatea year ago
🕒 Created12 years ago
🐞 Open Issues4
➗ Star-Issue Ratio13
😎 AuthorOzzyCzech