Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/armetiz/simple-ics
Create a very simple ICS Event
https://github.com/armetiz/simple-ics
Last synced: about 1 month ago
JSON representation
Create a very simple ICS Event
- Host: GitHub
- URL: https://github.com/armetiz/simple-ics
- Owner: armetiz
- License: mit
- Created: 2018-05-22T07:48:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-22T07:53:36.000Z (over 6 years ago)
- Last Synced: 2024-04-30T18:23:42.989Z (7 months ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple ICS
Create a very simple ICS Event.
Allowed parameters:
* Summary
* Description
* Location
* Start date
* End date
* Organizer name & email
* Attendees name & email
* Alarms## Usage
```php
new DateTimeImmutable('+3 days'),
'endAt' => new DateTimeImmutable('+5 days'),
'summary' => 'Work session - Thomas Tourlourat',
'description' => 'First time work session; will be awesome!',
'location' => 'Lyon, France',
'organizer' => [
'email' => '[email protected]',
'name' => 'Thomas Tourlourat',
],
'attendees' => [
'[email protected]' => 'Thomas Tourlourat',
],
'alarms' => [],
], 'wozbe.com');file_put_contents('/tmp/work-session.ics', $icsEvent->output());
```