PHPackages                             k10r/klarna-ordermanagement - 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. [Payment Processing](/categories/payments)
4. /
5. k10r/klarna-ordermanagement

ActiveLibrary[Payment Processing](/categories/payments)

k10r/klarna-ordermanagement
===========================

Klarna ordermanagement as a package for our Klarna plugins.

0.6.5(2y ago)01.8k[1 PRs](https://github.com/kellerkinderDE/klarna-ordermanagement/pulls)MITPHPPHP &gt;=7.2 &lt;8.3

Since May 14Pushed 2y ago2 watchersCompare

[ Source](https://github.com/kellerkinderDE/klarna-ordermanagement)[ Packagist](https://packagist.org/packages/k10r/klarna-ordermanagement)[ RSS](/packages/k10r-klarna-ordermanagement/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (1)Versions (51)Used By (0)

Klarna OrderManagement
======================

[](#klarna-ordermanagement)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8fbac0e2b890786feb7bd4b3e5b3874b359935d6da756d3603f46c8d7a79d019/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b3130722f6b6c61726e612d6f726465726d616e6167656d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/k10r/klarna-ordermanagement)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/bcd7de5f29461ee19430d79961cef6a1c25798cedf46ce46111c743fd07a0541/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b3130722f6b6c61726e612d6f726465726d616e6167656d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/k10r/klarna-ordermanagement)

This is a package for [Shopware 5](https://en.shopware.com/) plugins. It adds support for the [Klarna OrderManagement API](https://developers.klarna.com/api/#order-management-api) and also includes a UI in the shopware backend. If using this package, you will need to implement Klarna Payments order Klarna Checkout yourself.

- [Klarna Payments Docs](https://klarna.kellerkinder.de/sw5/de/1-kp/index.html)
- [Klarna Checkout Docs](https://klarna.kellerkinder.de/sw5/de/2-kc/index.html)
- [Order Management Docs](https://klarna.kellerkinder.de/sw5/de/3-ko/index.html)

Install
-------

[](#install)

Via Composer

```
$ composer require k10r/klarna-ordermanagement
```

### Registering dependencies

[](#registering-dependencies)

In your Shopware plugin entry file, you need to specify the following container parameters:

- Plugin name

```
public function build(ContainerBuilder $containerBuilder)
{
    parent::build($containerBuilder);

    $containerBuilder->setParameter('bestit_klarna.plugin_name', 'ExamplePluginName');
}
```

And you will also need to register our dependencies:

```
public function build(ContainerBuilder $containerBuilder)
{
    parent::build($containerBuilder);

    //

    $dependencyInjectionExtensions = [
        \BestitKlarnaOrderManagement\Components\DependencyInjection\DependencyInjectionExtension::class
    ];

    foreach ($dependencyInjectionExtensions as $dependencyInjectionExtension) {
        if (!class_exists($dependencyInjectionExtension)) {
            continue;
        }

        $dependencyInjectionExtension = new $dependencyInjectionExtension();

        if (!$dependencyInjectionExtension instanceof \BestitKlarnaOrderManagement\Components\DependencyInjection\DependencyInjectionExtensionInterface) {
            continue;
        }

        $dependencyInjectionExtension->injectDependencies($containerBuilder);
    }
}
```

Then you can use the `OMInstaller` for any ohter necessary setup:

```
public function install(InstallContext $context)
{
    // ...

    $this->getOmInstaller()->install($this, $context);

    // ...
}

public function uninstall(UninstallContext $context)
{
    // ...

    $this->getOmInstaller()->uninstall($this, $context);

    // ...
}

public function update(UpdateContext $context)
{
    // ...

    $this->getOmInstaller()->update($this, $context);

    // ...
}

protected function getOmInstaller()
{
    if ($this->omInstaller !== null) {
        return $this->omInstaller;
    }

    $this->omInstaller = new OmInstaller($this->container->get('shopware.snippet_database_handler'));

    return $this->omInstaller;
}
```

Usage
-----

[](#usage)

See the [docs](https://klarna.kellerkinder.de/sw5/de/3-ko/index.html) for more information.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~44 days

Recently: every ~138 days

Total

49

Last Release

791d ago

PHP version history (6 changes)0.1.0PHP ^5.6 || ^7.0

0.3.0PHP ^7.2

0.3.1PHP &gt;=7.2 || &lt;=8.1

0.3.3PHP &gt;=7.2 &lt;=8.1

0.6.3PHP &gt;=7.2 &lt;=8.2

0.6.4PHP &gt;=7.2 &lt;8.3

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/3cb3cb3341c1d1cfa2e2ac75fffcc2fc5ab5e1004ce7ba4da1e41a6ac42e2ea1?d=identicon)[kleinmann](/maintainers/kleinmann)

---

Top Contributors

[![ralfnitzer](https://avatars.githubusercontent.com/u/29124230?v=4)](https://github.com/ralfnitzer "ralfnitzer (72 commits)")[![bestit-el-bardan](https://avatars.githubusercontent.com/u/24458969?v=4)](https://github.com/bestit-el-bardan "bestit-el-bardan (48 commits)")[![Sironheart](https://avatars.githubusercontent.com/u/13799656?v=4)](https://github.com/Sironheart "Sironheart (8 commits)")[![JoeKre](https://avatars.githubusercontent.com/u/9037466?v=4)](https://github.com/JoeKre "JoeKre (6 commits)")[![tinect](https://avatars.githubusercontent.com/u/135993?v=4)](https://github.com/tinect "tinect (5 commits)")[![DWMD-io](https://avatars.githubusercontent.com/u/102208129?v=4)](https://github.com/DWMD-io "DWMD-io (5 commits)")[![t2oh4e](https://avatars.githubusercontent.com/u/3286907?v=4)](https://github.com/t2oh4e "t2oh4e (5 commits)")[![macidev](https://avatars.githubusercontent.com/u/3375193?v=4)](https://github.com/macidev "macidev (1 commits)")[![lx-wnk](https://avatars.githubusercontent.com/u/20777072?v=4)](https://github.com/lx-wnk "lx-wnk (1 commits)")[![arosenhagen](https://avatars.githubusercontent.com/u/50462?v=4)](https://github.com/arosenhagen "arosenhagen (1 commits)")

---

Tags

shopwareklarnaswordermanagement

### Embed Badge

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

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

###  Alternatives

[payum/payum-bundle

One million downloads of Payum already! Payum offers everything you need to work with payments. Check more visiting site.

59510.3M40](/packages/payum-payum-bundle)

PHPackages © 2026

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