armen-e5518 / icalendar
iCalendar widget for Yii2.
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
This package is auto-updated.
Last update: 2024-05-21 20:27:24 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
composer require armen-e5518/icalendar "@dev"
or add
"armen-e5518/icalendar" : "@dev"
to the require section of your application's composer.json
file.
Usage
Using a model with a basic preset:
use icalendar\iCalendar;
$ical = new iCalendar();
$lines = $ical->load( file_get_contents( 'example.ics' ) );
var_dump( $lines );