meilleursbiens/laravel-calendly-wrapper

PHP Calendly API (v2) Wrapper SDK for Laravel

1.0.3 2023-01-09 14:55 UTC

This package is auto-updated.

Last update: 2025-01-09 19:45:39 UTC


README

PHP Calendly API (v2) SDK for Laravel Installation

Installation using composer:

composer require meilleursbiens/laravel-calendly-wrapper
php artisan vendor:publish --provider="MeilleursBiens\CalendlyServiceProvider" --tag="config"

Configuration

Change your default settings in app/config/calendly.php:

return [
    'personal_token' => env('CALENDLY_PERSONAL_TOKEN'),
    'organization_uri' => env('CALENDLY_ORGANIZATION_URI'),
];

Usage

Calendly::users()->me();
Calendly::users()->get();
Calendly::eventTypes()->get();
Calendly::eventTypes()->forOrganization();
Calendly::eventTypes()->forUser();
Calendly::scheduledEvents()->get();
Calendly::scheduledEvents()->forOrganization();
Calendly::scheduledEvents()->forUser();
Calendly::scheduledEvents()->invitees();
Calendly::scheduledEvents()->invitee();
Calendly::memberships()->get();
Calendly::memberships()->forOrganization();
Calendly::memberships()->forUser();
Calendly::webhooks()->get();
Calendly::webhooks()->list();
Calendly::webhooks()->subscribe();
Calendly::webhooks()->unsubscribe();

Documentation

Calendly API Docs