This package developed for easy integration of ics-file generating.
ronasit/laravel-ics-generator is a Laravel package for this package developed for easy integration of ics-file generating..
It currently has 1 GitHub stars and 21.840 downloads on Packagist (latest version 0.0.2).
Install it with composer require ronasit/laravel-ics-generator.
Discover more Laravel packages by ronasit
or browse all Laravel packages to compare alternatives.
Last updated
This package developed for easy integration of ics-file generating. It registers a router in the project, using which you can get the generated ics file.
composer require ronasit/laravel-ics-generator
config/app.php....
RonasIT\Support\CalendarServiceProvider::class,
....
php artisan vendor:publish
config/ics-generator.php. Default route is
/export/calendarY-m-d H:i:s, requiredY-m-d H:i:s, requiredAfter Steps for integration run http server
php artisan serve
make request
curl -XGET 'http://localhost:8000/export/calendar?name=Hello+World&from=2019-10-10+10%3A10%3A10&to=2019-10-10+11%3A11%3A11&address=Somewhere+In+Siberia&[email protected]&description=Test+Message'
Result should be
BEGIN:VCALENDAR
VERSION:2.0
PRODID:
CALSCALE:GREGORIAN
BEGIN:VEVENT
DTSTART:20191010T101010Z
DTEND:20191010T111111Z
SUMMARY:Hello World
UID:5c66585042c66
ORGANIZER:MAILTO:rdubrovin@ronasit.com
LOCATION: Somewhere In Siberia
DESCRIPTION:Test Message
END:VEVENT
END:VCALENDAR
Now you can use is through request from client to upload ICS-calendar events as you want.