PHPackages                             katsana/katsana-sdk-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. katsana/katsana-sdk-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

katsana/katsana-sdk-php
=======================

KATSANA SDK for PHP

v1.2.9(2y ago)522.9k↓50%51BSD-3-ClausePHPPHP ^7.3 || ^8.0

Since Jul 18Pushed 2y ago3 watchersCompare

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

READMEChangelog (10)Dependencies (7)Versions (21)Used By (1)

KATSANA SDK for PHP
===================

[](#katsana-sdk-for-php)

[![Build Status](https://camo.githubusercontent.com/2731ea1c0c5a126fcc7e3c7601212e242675353b06bc04e7c569bc92c9b1c30c/68747470733a2f2f7472617669732d63692e6f72672f6b617473616e612f6b617473616e612d73646b2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/katsana/katsana-sdk-php)[![Latest Stable Version](https://camo.githubusercontent.com/2d7617a8804c6809c3d90b5a4878ec3fd521c64365983a6813fdf9934aaf2701/68747470733a2f2f706f7365722e707567782e6f72672f6b617473616e612f6b617473616e612d73646b2d7068702f762f737461626c65)](https://packagist.org/packages/katsana/katsana-sdk-php)[![Total Downloads](https://camo.githubusercontent.com/731b381b652d987375e31741492e1b09c7a53fab4b03fd180576a08d77a68a10/68747470733a2f2f706f7365722e707567782e6f72672f6b617473616e612f6b617473616e612d73646b2d7068702f646f776e6c6f616473)](https://packagist.org/packages/katsana/katsana-sdk-php)[![Latest Unstable Version](https://camo.githubusercontent.com/48c80b32e84b81525179165c6f07aac3013a48e8adccb68dafd3f358c6190aed/68747470733a2f2f706f7365722e707567782e6f72672f6b617473616e612f6b617473616e612d73646b2d7068702f762f756e737461626c65)](https://packagist.org/packages/katsana/katsana-sdk-php)[![License](https://camo.githubusercontent.com/89d7ca9c6f696b760daba7ce5133f7758933699a2d9aea520e34e2762c50a44d/68747470733a2f2f706f7365722e707567782e6f72672f6b617473616e612f6b617473616e612d73646b2d7068702f6c6963656e7365)](https://packagist.org/packages/katsana/katsana-sdk-php)[![Coverage Status](https://camo.githubusercontent.com/ead9b82efd3d1b3d45b8273011a740779cf0dc9d245276e51df2e571c511ac53/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6b617473616e612f6b617473616e612d73646b2d7068702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/katsana/katsana-sdk-php?branch=master)

- [Installation](#installation)
- [Usages](#usages)
    - [Creating Client](#creating-client)
    - [Change Timezone](#change-timezone)
    - [Handling Response](#handling-response)
    - [Using the API](#using-the-api)

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

[](#installation)

To install through composer, simply put the following in your `composer.json` file:

```
{
    "require": {
        "katsana/katsana-sdk-php": "^1.2",
        "php-http/guzzle6-adapter": "^2.0"
    }
}
```

### Quick Installation

[](#quick-installation)

Above installation can also be simplify by using the following command:

```
composer require "php-http/guzzle6-adapter" "katsana/katsana-sdk-php=^1.2"

```

### HTTP Adapter

[](#http-adapter)

Instead of utilizing `php-http/guzzle6-adapter` you might want to use any other adapter that implements `php-http/client-implementation`. Check [Clients &amp; Adapters](http://docs.php-http.org/en/latest/clients.html) for PHP-HTTP.

Usages
------

[](#usages)

### Creating Client

[](#creating-client)

You can start by creating a client by using the following code (which uses `php-http/guzzle6-adapter` and `php-http/discovery` to automatically pick available adapter installed via composer):

```
