https://github.com/letterus/gemeindeit-icalconverter
Converts ics/iCal files. For example from Google Calendar to Booked Scheduler format. - Mirror of https://codeberg.org/Letterus/gemeindeit-icalconverter
https://github.com/letterus/gemeindeit-icalconverter
calendar google ical php sabredav schedule
Last synced: 3 months ago
JSON representation
Converts ics/iCal files. For example from Google Calendar to Booked Scheduler format. - Mirror of https://codeberg.org/Letterus/gemeindeit-icalconverter
- Host: GitHub
- URL: https://github.com/letterus/gemeindeit-icalconverter
- Owner: Letterus
- License: agpl-3.0
- Created: 2017-03-25T21:00:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-12T22:14:07.000Z (about 3 years ago)
- Last Synced: 2025-03-09T12:04:56.775Z (3 months ago)
- Topics: calendar, google, ical, php, sabredav, schedule
- Language: PHP
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# iCalConverter
## About
iCalConverter is a command line tool that uses the
[sabre/vobject](https://github.com/fruux/sabre-vobject) library to perform
changes on iCal/ics files. It won't convert to other file formats.You can use it f.e. if you want to free your room reservation calendar from
Google Calendar and convert this calendar to a format that can be easily
imported to [Booked Scheduler](https://github.com/effgarces/BookedScheduler).## How to use
1. Install [composer](https://getcomposer.org/download/).
2. Execute composer:```
cd
php composer.phar install
```3. Execute iCalConverter:
```
Usage:
./iCalConverter.php [-debug]Path to the file which describes how
to handle .
Path to the .ics/iCalendar file to import.
Path to the (new) .ics/iCalendar file to
export the converted data to.
-debug Add this option if you want to save debug information to log files in the log directory.
Using the options --help, -help, -h oder -? you get this help.
```## How to configure
You will need to setup a php configuration file that tells iCalConverter how to
handle the import file. See the [example file](config/Configuration_Example.php).## How to extend
The provided configurable "modifiers" that change the input ical data are very
basic. You can extend iCalConverter building your own "Modifier" class that
handles input data the way you want.If you want to filter out data extend [AbstractFilter](Modifier/Event/Filter/AbstractFilter.php).
If you want to modify data extend [AbstractReplace](Modifier/Event/Replace/AbstractReplace.php) or
[AbstractSet](Modifier/Event/Set/AbstractSet.php) or create a new type of modifier.Add your created class to [config/ModifierClassMap.php](config/ModifierClassMap.php) to make it available for
[configuration](config/Configuration_Example.php).## Questions or support?
*Can I use iCalConverter for my webservice?*
Yes, you can. Please consider the requirements of the AGPL. Keep in mind the
software was build for local execution via CLI. It only does very basic input
validation currently and is served without any warranty.Further questions? Contact letterus AT codingpastor DOT de.