PHP library for AddEvent
Simply require the package with
composer add growth-institute/addevent-php.
Don't forget to include your vendor
autoload.php. Then you will be able to instantiate an AddEvent object. The constructor receives the AddEvent token as its only parameter. Example:
<?php include('vendor/autoload.php'); use AddEventPHP\AddEvent; $addevent = new AddEvent('your token here'); $calendars = $addevent->listCalendars(); echo "<pre>"; print_r($calendars); echo "</pre>"; ?>
Take a look to the src files to check all the functions available.