Download the PHP package bnomei/kirby3-ics without Composer
On this page you can find all versions of the php package bnomei/kirby3-ics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package kirby3-ics
Kirby 3 ICS
Generate ICS Files.
Commerical Usage
Support open source!
This plugin is free but if you use it in a commercial project please consider to sponsor me or make a donation.
If my work helped you to make some cash it seems fair to me that I might get a little reward as well, right?
Be kind. Share a little. Thanks.
‐ Bruno
M | O | N | E | Y |
---|---|---|---|---|
Github sponsor | Patreon | Buy Me a Coffee | Paypal dontation | Hire me |
Installation
- unzip master.zip as folder
site/plugins/kirby3-ics
or git submodule add https://github.com/bnomei/kirby3-ics.git site/plugins/kirby3-ics
orcomposer require bnomei/kirby3-ics
Usecase
Plain PHP
Page Method
Use the ics()->vcalendar()
-method to retrieve the Vcalender
Object then add properties, events and alarms. Please read the original docs of used lib for an overview about what is possible.
site/templates/default.php
TIP: You can retrieve the static unique object for a page using the page method
$page->ics()
. This makes it possible to prepare the ICS in a page model or page controller and just display the data in your template or content representation. Check out the tests for an example.
Content Representations
Assuming you prepared your ics data in a model or controller your content representation could be as short as this example.
site/templates/default.ics.php
Dependencies
Disclaimer
This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.
License
It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.
Credits
based on V2 versions of
All versions of kirby3-ics with dependencies
getkirby/composer-installer Version ^1.1
kigkonsult/icalcreator Version ^2.27