PHPackages                             getmytg/gmt-php-sdk - 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. getmytg/gmt-php-sdk

ActiveLibrary[API Development](/categories/api)

getmytg/gmt-php-sdk
===================

Gmt PHP SDK

v0.7.0(5mo ago)01[1 PRs](https://github.com/cameo6/gmt-php-sdk/pulls)Apache-2.0PHPPHP ^8.1CI passing

Since Nov 28Pushed 1mo agoCompare

[ Source](https://github.com/cameo6/gmt-php-sdk)[ Packagist](https://packagist.org/packages/getmytg/gmt-php-sdk)[ RSS](/packages/getmytg-gmt-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (13)Versions (12)Used By (0)

Gmt PHP API library
===================

[](#gmt-php-api-library)

Note

The Gmt PHP API Library is currently in **beta** and we're excited for you to experiment with it!

This library has not yet been exhaustively tested in production environments and may be missing some features you'd expect in a stable release. As we continue development, there may be breaking changes that require updates to your code.

**We'd love your feedback!** Please share any suggestions, bug reports, feature requests, or general thoughts by [filing an issue](https://www.github.com/cameo6/gmt-php-sdk/issues/new).

The Gmt PHP library provides convenient access to the Gmt REST API from any PHP 8.1.0+ application.

It is generated with [Stainless](https://www.stainless.com/).

Documentation
-------------

[](#documentation)

The REST API documentation can be found on [api.getmytg.com](https://api.getmytg.com/docs).

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

[](#installation)

To use this package, install via Composer by adding the following to your application's `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "git@github.com:cameo6/gmt-php-sdk.git"
    }
  ],
  "require": {
    "getmytg/gmt-php-sdk": "dev-main"
  }
}
```

Usage
-----

[](#usage)

This library uses named parameters to specify optional arguments. Parameters with a default value must be set by name.

```
