PHPackages                             zakir-hyder/citrix-gotowebinar-php-library - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. zakir-hyder/citrix-gotowebinar-php-library

ActiveLibrary[API Development](/categories/api)

zakir-hyder/citrix-gotowebinar-php-library
==========================================

The GoToWebinar PHP Library is typically used to perform operations like create registrant of webinar, get the login url, list webinars etc.

1217914[2 issues](https://github.com/zakir-hyder/citrix-gotowebinar-php-library/issues)[1 PRs](https://github.com/zakir-hyder/citrix-gotowebinar-php-library/pulls)PHP

Since Jun 24Pushed 7y ago8 watchersCompare

[ Source](https://github.com/zakir-hyder/citrix-gotowebinar-php-library)[ Packagist](https://packagist.org/packages/zakir-hyder/citrix-gotowebinar-php-library)[ RSS](/packages/zakir-hyder-citrix-gotowebinar-php-library/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/960262076d1a6ceb6d170c9382a7a7c30366c52a69cf3eac44e5f7e8e1cb96b6/68747470733a2f2f706f7365722e707567782e6f72672f7a616b69722d68796465722f6369747269782d676f746f776562696e61722d7068702d6c6962726172792f762f737461626c65)](https://packagist.org/packages/zakir-hyder/citrix-gotowebinar-php-library)[![License](https://camo.githubusercontent.com/65ed13ef82e325f6c9f1b1d182e2687bc41083be04693e7a4018d7c0265f175d/68747470733a2f2f706f7365722e707567782e6f72672f7a616b69722d68796465722f6369747269782d676f746f776562696e61722d7068702d6c6962726172792f6c6963656e7365)](https://packagist.org/packages/zakir-hyder/citrix-gotowebinar-php-library)

Citrix's GoToWebinar PHP Library
================================

[](#citrixs-gotowebinar-php-library)

The GoToWebinar PHP Library is typically used to perform operations like create registrant of webinar, get the login url, list webinars etc. the PHP Library greatly simplifies the process of authentication and authorizing users for your app. This lib needs JSON and CURL PHP extension.

You will need an API key to initialize the Library, which you can obtain from . Apply for Developer Key on [https://developer.citrixonline.com/sdm/set\_app/Production](https://developer.citrixonline.com/sdm/set_app/Production). Be sure to check GoToWebinar as Product API. Then you will see the API key on . If you are not registered, first register yourself on here . Then Apply for Developer Key. Be sure to check GoToWebinar as Product API. Then you will see the API key on .

Installing and Initializing
---------------------------

[](#installing-and-initializing)

To install the PHP Library, extract the downloaded files and copy the citrix.php from the directory to a directory on the server where you will host your app. Then, just include citrix.php wherever you want to use the PHP Library.

You will need an app id to initialize the Library, which you can obtain from your developer profile .

First include the citrix.php in you code. You use the Library by instantiating a new Facebook object with, at a minimum, your app id and app secret:

include "citrix.php";

```
$citrix = new Citrix('API Key');
$organizer_key = $citrix->get_organizer_key();

```

Usage
-----

[](#usage)

To get current Organizer Key

```
$organizer_key = $citrix->get_organizer_key();

```

If Organizer Key is empty, create login url. If not parameter is passed then redirect url will be the current url. If you want to redirect to another url, pass the url on the function. But remember the redirect url must be on the same domain that you created the app for.

```
if(!$organizer_key)
{
	$url = $citrix->auth_citrixonline();
	echo "top.location.href = '$url';";
	exit;
}

```

To Get access token

```
$url = $citrix->get_access_token();

```

I will suggest to save the user's access token and organizer key in Database. So that user does not have to authorize your app every time they user you app/website.

To load access token and organizer key

```
$citrix->set_organizer_key('organizer_key');
$citrix->set_access_token('access_token');

```

Get list of webinars

```
$webinars = $citrix->citrixonline_get_list_of_webinars() ;

```

If you want to get previous webinars along with future webinars pass 1 as parmeter ex citrixonline\_get\_list\_of\_webinars(1).

To create registrant of a webinar - you have to provide webinar id, first name, last name and email.

```
try
{
	$response = $citrix->citrixonline_create_registrant_of_webinar('webinar id', $data = array('first_name' => 'First Name', 'last_name' => 'Lastnmae', 'email'=>'email@email.com')) ;
	$citrix->pr($response);
}catch (Exception $e) {
	$citrix->pr($e->getMessage());
}

```

To get registrants of a webinar

```
try
{
	$webinars = $citrix->get_registrants_of_webinars('webinar id') ;
	$citrix->pr($webinars);
}catch (Exception $e) {
	$citrix->pr($e->getMessage());
}

```

To delete registrant of a webinar

```
try
{
    $citrix->citrixonline_delete_registrant_of_webinar('webinar id', 'registrant id') ;
}catch (Exception $e) {
    $citrix->pr($e->getMessage());
}

```

$citrix-&gt;pr() is Print\_r convenience function. I have created two example files - login.php and api example.php. login.php shows you how to the lib to authorize user with your app. example.php show all api calls.

### Creators

[](#creators)

[Zakir Hyder](https://github.com/zakir-hyder)

License
-------

[](#license)

Citrix's GoToWebinar PHP Library is available under the MIT license. See the LICENSE file for more info.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/886bb880284a90f12d50c4aaff138ee77ea050a083b8a8740292fa5a09bbbb05?d=identicon)[zakir.hyder](/maintainers/zakir.hyder)

---

Top Contributors

[![zakir-hyder](https://avatars.githubusercontent.com/u/2004937?v=4)](https://github.com/zakir-hyder "zakir-hyder (11 commits)")[![teodortalov](https://avatars.githubusercontent.com/u/2781820?v=4)](https://github.com/teodortalov "teodortalov (2 commits)")[![ashfame](https://avatars.githubusercontent.com/u/858906?v=4)](https://github.com/ashfame "ashfame (1 commits)")[![dzablo](https://avatars.githubusercontent.com/u/5859097?v=4)](https://github.com/dzablo "dzablo (1 commits)")

### Embed Badge

![Health badge](/badges/zakir-hyder-citrix-gotowebinar-php-library/health.svg)

```
[![Health](https://phpackages.com/badges/zakir-hyder-citrix-gotowebinar-php-library/health.svg)](https://phpackages.com/packages/zakir-hyder-citrix-gotowebinar-php-library)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
