Download the PHP package tinuviel/php-ics without Composer
On this page you can find all versions of the php package tinuviel/php-ics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tinuviel/php-ics
More information about tinuviel/php-ics
Files in tinuviel/php-ics
Download tinuviel/php-ics
More information about tinuviel/php-ics
Files in tinuviel/php-ics
Vendor tinuviel
Package php-ics
Short Description Generate a iCalendar (.ics) file in PHP.
License MIT
Homepage https://github.com/Bonno/php-ics
Package php-ics
Short Description Generate a iCalendar (.ics) file in PHP.
License MIT
Homepage https://github.com/Bonno/php-ics
Please rate this library. Is it a good library?
Informations about the package php-ics
PHP to ICS
This gist contains a convenient script to generate iCalendar (.ics) files on the fly in PHP.
Basic usage
Available properties
- description - string description of the event.
- dtend - date/time stamp designating the end of the event. You can use either a
DateTime
object or a PHP datetime format string (e.g. "now + 1 hour"). - dtstart - date/time stamp designating the start of the event. You can use either a
DateTime
object or a PHP datetime format string (e.g. "now + 1 hour"). - location - string address or description of the location of the event.
- summary - string short summary of the event - usually used as the title.
- url - string url to attach to the the event. Make sure to add the protocol (
http://
orhttps://
).
Detailed examples
Button that downloads an ICS file when clicked
This example contains a form on the front-end that submits to a PHP script that initiates a download of an ICS file. This example uses hidden form fields to set the properties dynamically.
index.html
download-ics.php
All versions of php-ics with dependencies
PHP Build Version
Package Version
Requires
php Version
^5.3 || ^7.0
The package tinuviel/php-ics contains the following files
Loading the files please wait ....