PHP code example of lee-to / php-calendly

1. Go to this page and download the library: Download lee-to/php-calendly library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

lee-to / php-calendly example snippets


use CalendlyApi\CalendlyApi;
use CalendlyApi\HttpAdapters\CurlHttpClient;


$calendlyApi = new CalendlyApi($token, new CurlHttpClient);
 php
$calendlyApi->hook()->all()
 php
$calendlyApi->hook()->get($id)
 php
$calendlyApi->hook()->delete($id)
 php
$calendlyApi->user()->me()
 php
$calendlyApi->user()->event_types()