This library is just a porting for composer of https://gitlab.com/davical-project/davical/blob/master/inc/caldav-client.php
You find original examples inside the file, you have to use new \it\thecsea\caldav_client\CalDAVClient to create a new instance