PHPackages                             klarna/checkout - 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. klarna/checkout

Abandoned → [klarna/kco\_rest](/?search=klarna%2Fkco_rest)ArchivedLibrary[API Development](/categories/api)

klarna/checkout
===============

Wrapper for the Klarna Checkout API

v4.0.0(10y ago)38931.8k↓12.9%24[4 PRs](https://github.com/klarna/kco_php/pulls)7Apache-2.0PHPPHP &gt;=5.3.0

Since Nov 21Pushed 7y ago18 watchersCompare

[ Source](https://github.com/klarna/kco_php)[ Packagist](https://packagist.org/packages/klarna/checkout)[ Docs](http://developers.klarna.com)[ RSS](/packages/klarna-checkout/feed)WikiDiscussions v4.0 Synced 1mo ago

READMEChangelogDependencies (4)Versions (17)Used By (7)

Klarna Checkout PHP library (DEPRECATED)
----------------------------------------

[](#klarna-checkout-php-library-deprecated)

[![Packagist Version](https://camo.githubusercontent.com/47c373c4899a9f5edffadaf2b0497f84a17a1b9b2c7f4c7c01c1abf3b886204f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6c61726e612f636865636b6f75742e7376673f7374796c653d666c6174)](https://packagist.org/packages/klarna/checkout)[![Build Status](https://camo.githubusercontent.com/2e8b3e3b78ca7941a72a61e5cc387de3a1a02f5547c5a7755f78ed50c4766c64/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6b6c61726e612f6b636f5f7068702f76342e302e7376673f7374796c653d666c6174)](https://travis-ci.org/klarna/kco_php)[![Coverage Status](https://camo.githubusercontent.com/46f43fb0a7a775abd140663c28af731bd6471e022d9db5399430a4531281986d/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6b6c61726e612f6b636f5f7068702f76342e302e7376673f7374796c653d666c6174)](https://coveralls.io/r/klarna/kco_php)

Deprecation notice
==================

[](#deprecation-notice)

This repo has been marked as deprecated. The SDK is not longer supported. Please use [https://github.com/klarna/kco\_rest\_php](https://github.com/klarna/kco_rest_php) SDK instead.

About Klarna
------------

[](#about-klarna)

Klarna was founded in Stockholm in 2005 with the idea of providing a zero-friction online payment solution that would allow consumers and merchants to interact with each other as safely and simply as possible. We do this by letting the consumer receive the goods first and pay afterwards, while we assume the credit and fraud risks for the merchants. Today, Klarna is one of Europe's fastest growing companies. In just 8 years, we've grown to 800 employees operating in 7 European countries with over 8 million consumers. But we are not satisfied with that. Our goal is to become market leaders within invoice-based payments worldwide and change the way the world shops online.

Klarna Checkout is a revolutionary new payment solution that is changing the way people shop online. First, consumers verify their purchase with a minimal amount of information through intelligent identification, securing your order immediately, and then complete their payment afterwards – separating buying from paying and dramatically increasing conversion. Klarna Checkout also allows merchants to offer all payment methods through one supplier, minimizing administration, costs and integration time.

Documentation
-------------

[](#documentation)

Documentation and more examples can be found at [developers.klarna.com](https://developers.klarna.com).

How to contribute
-----------------

[](#how-to-contribute)

At Klarna, we strive toward achieving the highest possible quality for our products. Therefore, we require you to follow these guidelines if you wish to contribute.

To contribute, the following criteria needs to be fulfilled:

- Description regarding what has been changed and why
- Pull requests should implement a boxed change
- All code and documentation must follow the [PEAR coding standards](http://pear.php.net/manual/en/standards.php)
- All classes must follow the [PSR-0 standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md)
- New features and bug fixes must have accompanying unit tests:
    - Positive tests
    - Negative tests
    - Boundary tests (if possible)
    - No less than 90% decision coverage
- All unit tests should pass

Questions and feedback
----------------------

[](#questions-and-feedback)

If you have any questions concerning this product or the implementation, please contact .

Acknowledgements
----------------

[](#acknowledgements)

- David Keijser
- Rickard Dybeck
- Majid Garmaroudi
- Magnus Nordlander
- Christer Gustavsson
- Fredrik Liljegren
- Jan Kohlhof
- Maksim Kotlyar
- Matthias Feist

License
-------

[](#license)

The Klarna Checkout PHP library is released under [Apache License, Version 2.0](http://www.apache.org/LICENSE-2.0)

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity50

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 69.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~147 days

Recently: every ~360 days

Total

17

Last Release

2574d ago

Major Versions

v1.2.2 → v2.0.02015-03-18

2.0.x-dev → v3.0.02015-05-20

v3.0.2 → v4.0.02015-06-11

PHP version history (2 changes)v1.0.0PHP &gt;=5.2.16

v3.0.0PHP &gt;=5.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/df8935c703bdf11fea8eb7ec046a7e5fe9b97c675691e8c082d1ca04b2b04ad0?d=identicon)[Klarna](/maintainers/Klarna)

![](https://www.gravatar.com/avatar/b017543fdcfda55051dd7c874e37d065b80cb19eaa05447f8b9df954a399e968?d=identicon)[alexions](/maintainers/alexions)

---

Top Contributors

[![JoakimLofgren](https://avatars.githubusercontent.com/u/895361?v=4)](https://github.com/JoakimLofgren "JoakimLofgren (9 commits)")[![magnusnordlander](https://avatars.githubusercontent.com/u/165002?v=4)](https://github.com/magnusnordlander "magnusnordlander (2 commits)")[![alexions](https://avatars.githubusercontent.com/u/954028?v=4)](https://github.com/alexions "alexions (1 commits)")[![makasim](https://avatars.githubusercontent.com/u/143206?v=4)](https://github.com/makasim "makasim (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/klarna-checkout/health.svg)

```
[![Health](https://phpackages.com/badges/klarna-checkout/health.svg)](https://phpackages.com/packages/klarna-checkout)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
