PHPackages                             centarro/kco\_rest - 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. centarro/kco\_rest

ActiveLibrary[API Development](/categories/api)

centarro/kco\_rest
==================

Community maintained Klarna PHP SDK

v5.0.0(2mo ago)2264.1k↓11.8%3Apache-2.0PHPPHP &gt;=8.1CI passing

Since Oct 16Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/centarro/kco_rest_php)[ Packagist](https://packagist.org/packages/centarro/kco_rest)[ Docs](https://github.com/centarro/kco_rest_php)[ RSS](/packages/centarro-kco-rest/feed)WikiDiscussions v5.x Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (37)Used By (0)

[![php tests](https://github.com/centarro/kco_rest_php/actions/workflows/php.yml/badge.svg)](https://github.com/centarro/kco_rest_php/actions/workflows/php.yml/badge.svg)

Introduction
------------

[](#introduction)

This is an unofficial, community maintained fork of the deprecated official Klarna PHP SDK.

Shop now. Pay later.
--------------------

[](#shop-now-pay-later)

Shop at your favorite stores today and experience the freedom to pay later with Klarna.

Getting started
---------------

[](#getting-started)

SDK covers all of Kustom API:

### Prerequisites

[](#prerequisites)

- PHP 8.1 or above
- [API credentials](#api-credentials)
- [Composer](https://getcomposer.org/) (optional)

### API Credentials

[](#api-credentials)

Before getting a production account you can get a playground one. Register here to be able to test your SDK integration before go live:

PHP SDK Installation and Usage
------------------------------

[](#php-sdk-installation-and-usage)

### Install via Composer

[](#install-via-composer)

To install the PHP SDK from the Central Composer repository use composer:

```
composer require centarro/kco_rest
```

Highly recommended to use version tag when installing SDK.

```
composer require centarro/kco_rest:1.2.3.4
```

Detailed information about the PHP SDK package and a list of available versions can be found here: [https://packagist.org/packages/klarna/kco\_rest](https://packagist.org/packages/klarna/kco_rest)

Include the SDK into your PHP file using the Composer autoloader:

```
