Download the PHP package jsvrcek/ics-bundle without Composer
On this page you can find all versions of the php package jsvrcek/ics-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package ics-bundle
IcsBundle
Symfony Bundle providing dependency injection for the Jsvrcek\ICS library, which is for creating iCal .ics files.
Installation
composer req jsvrcek/ics-bundle
Usage
// or inject them into the controller
public function calendarAction(Formatter $formatter, CalendarExport $calendarExport)
{
$eventOne = new CalendarEvent();
$eventOne->setStart(new \DateTime())
->setSummary('Family reunion')
->setUid('event-uid');
//add an Attendee
$attendee = new Attendee($this->formatter); // or $formatter
$attendee->setValue('[email protected]')
->setName('Moe Smith');
$eventOne->addAttendee($attendee);
$response = new Response($calendarExport->getStream());
$response->headers->set('Content-Type', 'text/calendar');
return $response;
}
}
All versions of ics-bundle with dependencies
PHP Build Version
Package Version
The package jsvrcek/ics-bundle contains the following files
Loading the files please wait ....