PHPackages                             paravibe/gototraining - 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. paravibe/gototraining

ActiveLibrary[API Development](/categories/api)

paravibe/gototraining
=====================

The GoToTraining API wrapper for PHP

1.1.0(1y ago)09.1k↓25%MITPHPPHP ^8.0 || ^7.0CI failing

Since Jul 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/paravibe/gototraining)[ Packagist](https://packagist.org/packages/paravibe/gototraining)[ RSS](/packages/paravibe-gototraining/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (6)Used By (0)

GoToTraining PHP wrapper
========================

[](#gototraining-php-wrapper)

[![Latest Version](https://camo.githubusercontent.com/8cf55ecc307931c76371679d00006754091d5bb20b9db0d2bc5774c9caa1eb24/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f70617261766962652f676f746f747261696e696e672e7376673f7374796c653d666c61742d737175617265)](https://github.com/paravibe/gototraining/releases)[![Build Status](https://camo.githubusercontent.com/9f156c91a4dd463374a2759f5585a560038aad0ad758303580c7b1b51bd182f9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f70617261766962652f676f746f747261696e696e672e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/paravibe/gototraining)[![Total Downloads](https://camo.githubusercontent.com/518079fc8365560fff5fafdf9cb870ffce2e45c61877fedf603c106b53a35265/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70617261766962652f676f746f747261696e696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/paravibe/gototraining)

Installation
------------

[](#installation)

`composer require paravibe/gototraining`

How to use
----------

[](#how-to-use)

### Initialize client

[](#initialize-client)

`$client = new \LogMeIn\GoToTraining\Client($access_token, $values);`

Where `$access_token` is a token retrived during authorization procedure - [https://developer.goto.com/guides/HowTos/03\_HOW\_accessToken/](https://developer.goto.com/guides/HowTos/03_HOW_accessToken/)
and `$values` are response data that contain:

- account\_key
- account\_type
- email
- firstName
- lastName
- organizer\_key

Use any method described here by passing proper HTTP method and endpoint to `createRequest()` method.

### GET/DELETE methods

[](#getdelete-methods)

```
$get = $client->createRequest('GET', "organizers/{$organizer_key}/trainings")->execute();
$data = $get->getDecodedBody();
```

### POST/PUT methods

[](#postput-methods)

```
$post_data = array(
  'name' => 'Training',
  'description' => 'Test API integration',
  'times' => [
    [
      'startDate' => '2021-03-02T12:00:00Z',
      'endDate' => '2021-03-02T13:00:00Z',
    ]
  ],
  'timeZone' => 'Europe/Kiev',
);

$new = $client->createRequest('POST', "organizers/{$organizer_key}/trainings")
  ->attachBody($post_data)
  ->execute();
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance45

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~426 days

Total

5

Last Release

432d ago

PHP version history (2 changes)1.0PHP ^5.6 || ^7.0

1.0.2PHP ^8.0 || ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ee489c5ed8fc6fac1e81b1b7688a37731ec978f5dccc87e4f87c5233c2197709?d=identicon)[paravibe](/maintainers/paravibe)

---

Top Contributors

[![paravibe](https://avatars.githubusercontent.com/u/1899854?v=4)](https://github.com/paravibe "paravibe (8 commits)")

---

Tags

logmeinLogMeIn APIGoToTraining APIGoToTraining

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/paravibe-gototraining/health.svg)

```
[![Health](https://phpackages.com/badges/paravibe-gototraining/health.svg)](https://phpackages.com/packages/paravibe-gototraining)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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