Download the PHP package sudiptochoudhury/php-ready-theatre-systems without Composer
On this page you can find all versions of the php package sudiptochoudhury/php-ready-theatre-systems. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sudiptochoudhury/php-ready-theatre-systems
More information about sudiptochoudhury/php-ready-theatre-systems
Files in sudiptochoudhury/php-ready-theatre-systems
Package php-ready-theatre-systems
Short Description PHP Client Library to consume Ready Theatre Systems, LLC – Open Interface API
License MIT
Homepage https://github.com/sudiptochoudhury/php-ready-theatre-systems
Informations about the package php-ready-theatre-systems
php-ready-theatre-systems
PHP API Client for Ready Theatre Systems, LLC – Open Interface API
Installation
Requirements
- Any flavour of PHP 7.1+ should do
Install With Composer
You can install the library via Composer by adding the following line to the require block of your composer.json file (replace dev-master with latest stable version):
or run the following command:
Setting up
All you need to do is to pass theatre id, username and password to the constructor.
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
andpath
properties. - You can also pass a
Monolog\Logger
instance.
You can use client
property to forward to GuzzleHttp\Client
constructor.
If you wish to tap into request and response handler stacks use settings
instead of using client
's handlers
property.
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:
Available API Methods
Method & Command | Parameters | Description |
---|---|---|
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 |