PHPackages                             mtasuandi/tiket-php - 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. mtasuandi/tiket-php

ActiveLibrary[API Development](/categories/api)

mtasuandi/tiket-php
===================

Tiket.com PHP Wrapper

6726PHP

Since Oct 30Pushed 10y ago2 watchersCompare

[ Source](https://github.com/mtasuandi/tiket-php)[ Packagist](https://packagist.org/packages/mtasuandi/tiket-php)[ RSS](/packages/mtasuandi-tiket-php/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/82b0d433267ecca70c2a4c363864975f2e1a270b20a26168f0ab2342fa15e411/68747470733a2f2f7472617669732d63692e6f72672f6d74617375616e64692f74696b65742d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mtasuandi/tiket-php)

Tiket.com PHP Library
=====================

[](#tiketcom-php-library)

Tiket.com PHP Library .

Quickstart
==========

[](#quickstart)

Register for an API key for production [here](http://www.tiket.com/affiliate "Affiliate") and for development [here](http://sandbox.tiket.com/affiliate "Sandbox").

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

[](#installation)

```
composer require mtasuandi/tiket-php dev-master

```

Environment
-----------

[](#environment)

By default, the API will point to sandbox url. If you want to change to production, change Util/config.php.

From:

```
'settings' => [
	'version' => '1.0',
	/**
	 * Determine application environment
	 * Development: api-sandbox
	 * Production: api
	 */
	'api' => 'api-sandbox'
	]
```

To:

```
'settings' => [
	'version' => '1.0',
	/**
	 * Determine application environment
	 * Development: api-sandbox
	 * Production: api
	 */
	'api' => 'api'
	]
```

Usage Auth
----------

[](#usage-auth)

```
