PHP code example of exussum12 / ical
1. Go to this page and download the library: Download exussum12/ical library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
exussum12 / ical example snippets
$cal = new exussum12\Ical\IcsUrl('http://yourdomain/ical.ics')
foreach ($cal->getEvents() as $event) {
var_dump ($event->getStart());
}