uguranyum / yii2-icalender
iCalender for the Yii framework!
v1.5
2016-07-14 06:34 UTC
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-11-13 20:08:03 UTC
README
This extension you can take and save any iCalender document to your database.
REQUIREMENTS
Yii2 PHP Framework
DOWNLOAD VIA COMPOSER
composer require uguranyum/yii2-icalender
MIGRATE TO DATABASE
yii migrate --migrationPath=@vendor/uguranyum/yii2-icalender/migration --interactive=0
ABOUT EXTENSION
This extension you can and save any iCalender document to your database. Extension first take iCalender to @vendor/uguranyum/yii2-icalender/temp folder. After update calender information to the database.
Using:
$url = 'http://ical.mac.com/ical/South32Korean32Holidays.ics';
$icalender = new iCalender($url);
$icalender->cleanTemp(); //Clean the temp directory.
$icalender->id_calender_main //Main Calender ID
$icalender->cleanTables(); //Turnicate the iCalender Tables