iCalConverter is a command line tool that uses the 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.
How to use
cd <iCal directory> php composer.phar install
Usage: ./iCalConverter.php <configurationfile> <importfile> <exportfile> [-debug] <configurationfile> Path to the file which describes how to handle <importfile>. <importfile> Path to the .ics/iCalendar file to import. <exportfile> 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.
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.
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 firstname.lastname@example.org.