growth-institute / addevent-php
PHP library for AddEvent
v1.2
2022-05-24 22:41 UTC
Requires
- curl/curl: ^2.3
README
AddEvent for PHP
What is this?
This library is a PHP tool to integrate AddEvent API into your projects. AddEvent documentation can be found here.
How to use it
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.