PHPackages                             katsana/insurance-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. [API Development](/categories/api)
4. /
5. katsana/insurance-sdk-php

ActiveLibrary[API Development](/categories/api)

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

KATSANA Insurance Renewal SDK for PHP

v0.2.0(6y ago)09.2k↓33.3%BSD-3-ClausePHPPHP &gt;=7.1

Since May 15Pushed 6y ago9 watchersCompare

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

READMEChangelog (4)Dependencies (7)Versions (6)Used By (0)

KATSANA Insurance Renewal SDK for PHP
=====================================

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

[![Build Status](https://camo.githubusercontent.com/0975c39b98f3fa104edaa59bb85b069b717e13a79cc7f241a3decee1e5c77ca6/68747470733a2f2f7472617669732d63692e6f72672f6b617473616e612f696e737572616e63652d73646b2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/katsana/insurance-sdk-php)[![Latest Stable Version](https://camo.githubusercontent.com/2c615983061c5161a03126e62b1ad50dabe8e6dccafc0a9efc2d9b53cfa93f5a/68747470733a2f2f706f7365722e707567782e6f72672f6b617473616e612f696e737572616e63652d73646b2d7068702f762f737461626c65)](https://packagist.org/packages/katsana/insurance-sdk-php)[![Total Downloads](https://camo.githubusercontent.com/de8a869e59abe969d758264f450feed2eb24d1e02f5b52be55261582501ebec4/68747470733a2f2f706f7365722e707567782e6f72672f6b617473616e612f696e737572616e63652d73646b2d7068702f646f776e6c6f616473)](https://packagist.org/packages/katsana/insurance-sdk-php)[![Latest Unstable Version](https://camo.githubusercontent.com/c93aa7d759b4e4573a9da78947e994095bab22c5df2a93618f1e5866e28d7813/68747470733a2f2f706f7365722e707567782e6f72672f6b617473616e612f696e737572616e63652d73646b2d7068702f762f756e737461626c65)](https://packagist.org/packages/katsana/insurance-sdk-php)[![License](https://camo.githubusercontent.com/0b19eb5dd58a9a663a1e52161ae33898fd4c42c3ce18ddeeaceb668cb9166b7d/68747470733a2f2f706f7365722e707567782e6f72672f6b617473616e612f696e737572616e63652d73646b2d7068702f6c6963656e7365)](https://packagist.org/packages/katsana/insurance-sdk-php)[![Coverage Status](https://camo.githubusercontent.com/30f567d4005b0936537c37eacf12a55c1d82193a94798aada10c636d0fe49fa6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6b617473616e612f696e737572616e63652d73646b2d7068702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/katsana/insurance-sdk-php?branch=master)

- [Installation](#installation)
- [Getting Started](#getting-started)
    - [Creating Client](#creating-client)
    - [Handling Response](#handling-response)
    - [Using the API](#using-the-api)
- [Usages](#usages)
    - [Get List of Insurers](#get-list-of-insurers)
    - [Create Draft Quotation](#create-draft-quotation)
    - [Update Quotation](#update-quotation)
    - [Save Vehicle Information](#save-vehicle-information)
    - [Make Payment](#make-payment)

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

[](#installation)

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

```
{
    "require": {
        "katsana/insurance-sdk-php": "^0.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/insurance-sdk-php=^0.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.

Getting Started
---------------

[](#getting-started)

### 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):

```
