Provides easy-to-use interface to work with OvationTix API
PHP 7.0 and later.
You can install the bindings via Composer. Run the following command:
composer require dative/ovationtix
To use the bindings, use Composer's autoload:
require_once('vendor/autoload.php');
Create a instance by passing the OvationTix client id.
$otix = new OvationTix(284);
Will return array of Productions.
$series = $otix->getSeries();
Will return a Production object.
$production = $otix->getSeriesProduction( 1111 );
Will return array of Performances from a Production.
$performances = $production->getPerformances();
Install dependencies:
composer install
Install dependencies as mentioned above (which will resolve PHPUnit), then you can run the test suite:
./vendor/bin/phpunit
- Implement basic HTTP layer for requests
- Implement basic OvationTix class
- Implement Production class
- Implement Performance class
- add
getUpcommingPerformances
method to OvationTix - add
getPerformancesCalendar
method to OvationTix - Implement Venue class, update the Production class with it
- Initial release