PHPackages                             sudiptochoudhury/php-ready-theatre-systems - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. sudiptochoudhury/php-ready-theatre-systems

ActiveLibrary[HTTP &amp; Networking](/categories/http)

sudiptochoudhury/php-ready-theatre-systems
==========================================

PHP Client Library to consume Ready Theatre Systems, LLC – Open Interface API

v1.0.10(3y ago)31.4k4[1 issues](https://github.com/sudiptochoudhury/php-ready-theatre-systems/issues)MITPHPPHP ^7.1|^8.0CI failing

Since Aug 13Pushed 3y ago3 watchersCompare

[ Source](https://github.com/sudiptochoudhury/php-ready-theatre-systems)[ Packagist](https://packagist.org/packages/sudiptochoudhury/php-ready-theatre-systems)[ Docs](https://github.com/sudiptochoudhury/php-ready-theatre-systems)[ RSS](/packages/sudiptochoudhury-php-ready-theatre-systems/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (5)Versions (24)Used By (0)

php-ready-theatre-systems
=========================

[](#php-ready-theatre-systems)

PHP API Client for Ready Theatre Systems, LLC – Open Interface API

```
use SudiptoChoudhury\Rts\Api;

$rts = new Api([
    'theatre' => ''
    'username' => '',
    'password' => '',
]);

$result = $rts->getShowTime(['ShowSales' => 1, 'ShowAvalTickets' => 1, 'ShowSaleLinks' => 1]);

$result = $rts->checkIfSoldOut([
    'Data' => [
        "Packet" => [
            'PerformanceID' => '018129000023'
        ]
    ]
]);

$result = $rts->getGiftCardInformation([
    'Data' => [
        "Packet" => [
            'GiftCards' => [
                'GiftCard' => '1234510813486422'
            ]
        ]
    ]

]);

```

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

[](#installation)

### Requirements

[](#requirements)

- Any flavour of PHP 7.1+ should do

### Install With Composer

[](#install-with-composer)

You can install the library via [Composer](http://getcomposer.org) by adding the following line to the **require** block of your *composer.json* file (replace dev-master with latest stable version):

```
"sudiptochoudhury/php-ready-theatre-systems": "dev-master"

```

or run the following command:

```
composer require sudiptochoudhury/php-ready-theatre-systems

```

Setting up
----------

[](#setting-up)

All you need to do is to pass theatre id, username and password to the constructor.

```
use SudiptoChoudhury\Rts\Api;

new Api([
    'theatre' => ''
    'username' => '',
    'password' => ''
]);
```

Additionally, you can set a logger via `log` property.

- You can set log to `false` to disable logging.
- You can also pass an array with `file` and `path` properties.

```
use SudiptoChoudhury\Rts\Api;

new Api([
    'theatre' => ''
    'username' => '',
    'password' => '',
    'log' => ['file' => 'rts.log', 'path' => '/your/log/path']
]);
```

- You can also pass a `Monolog\Logger` instance.

```
use SudiptoChoudhury\Rts\Api;

new Api([
    'theatre' => ''
    'username' => '',
    'password' => '',
    'log' => ['logger' => $monologInstance]
]);
```

You can use `client` property to forward to `GuzzleHttp\Client` constructor.

```
use SudiptoChoudhury\Rts\Api;

new Api([
    'theatre' => ''
    'username' => '',
    'password' => '',
    'client' => ['timeout' => 5]
]);
```

If you wish to tap into request and response handler stacks use `settings` instead of using `client`'s `handlers` property.

```
'settings' => [
    'responseHandler' => function (ResponseInterface $response) {
        // do something
        return $response;
    },
    'requestHandler' => function (RequestInterface $request) {
        // some action
        return $request;
    },
],
```

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

[](#how-to-use)

Next, call the desired method from the table given below. In most methods you may need to pass parameters. The parameters are to be passed as an associative array.

Examples:

```
$rts = new Api([
    'theatre' => ''
    'username' => '',
    'password' => '',
]);

$result = $rts->getShowTime(['ShowSales' => 1, 'ShowAvalTickets' => 1, 'ShowSaleLinks' => 1]);

$result = $rts->checkIfSoldOut([
    'Data' => [
        "Packet" => [
            'PerformanceID' => '018129000023'
        ]
    ]
]);

$result = $rts->getGiftCardInformation([
    'Data' => [
        "Packet" => [
            'GiftCards' => [
                'GiftCard' => '1234510813486422'
            ]
        ]
    ]

]);

```

### Available API Methods

[](#available-api-methods)

Method &amp; CommandParametersDescription`getShowTimes(array)`
 \[POST\] ShowTimeXml`ShowAvalTickets` `ShowSales` `ShowSaleLinks`Get all Performance Schedule`getGiftCardInformation(array)`
 \[POST\] GiftInformation`getGiftCardInformationWithPin(array)`
 \[POST\] GiftInformationWithPIN`buyGiftCard(array)`
 \[POST\] Buy`refillGiftCard(array)`
 \[POST\] Buy`registerLoyaltyCard(array)`
 \[POST\] GIFTINFORMATION`checkIfSoldOut(array)`
 \[POST\] CheckSoldOut`hasRedeemed(array)`
 \[POST\] CheckRedeem`verifyTransaction(array)`
 \[POST\] VERIFYTRANSACTION`getTransactionDetails(array)`
 \[POST\] TRANSACTIONDETAILS`refund(array)`
 \[POST\] Refund`reverse(array)`
 \[POST\] ReverseTransaction`payUsingHostedCheckout(array)`
 \[POST\] CreatePayment`buyTicket(array)`
 \[POST\] CreatePayment`getAllSeatLayouts(array)`
 \[POST\] GetSeatLayouts`getSeatLayout(array)`
 \[POST\] GETSEATPLANFORPERF`checkPickedSeat(array)`
 \[POST\] CHECKSEATPICKS`getSeatChart(array)`
 \[POST\] SeatChart`holdSeats(array)`
 \[POST\] HoldSeats`releaseSeats(array)`
 \[POST\] HoldSeats`checkSalesTaxOnConcessionSales(array)`
 \[POST\] Buy`buyConcessionItems(array)`
 \[POST\] Buy

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity77

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 ~77 days

Recently: every ~286 days

Total

23

Last Release

1126d ago

Major Versions

v0.4.0 → v1.0.02020-01-09

PHP version history (2 changes)v0.3.1PHP ^7.1

v1.0.9PHP ^7.1|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/809353?v=4)[Sudipto Choudhury](/maintainers/sudiptochoudhury)[@sudiptochoudhury](https://github.com/sudiptochoudhury)

---

Top Contributors

[![sudiptochoudhury](https://avatars.githubusercontent.com/u/809353?v=4)](https://github.com/sudiptochoudhury "sudiptochoudhury (11 commits)")

---

Tags

apiphprtsphpapiclientrestxmlRTSReady Theatre Systems

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sudiptochoudhury-php-ready-theatre-systems/health.svg)

```
[![Health](https://phpackages.com/badges/sudiptochoudhury-php-ready-theatre-systems/health.svg)](https://phpackages.com/packages/sudiptochoudhury-php-ready-theatre-systems)
```

PHPackages © 2026

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