PHPackages                             it-pirs/konnektive-api - 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. it-pirs/konnektive-api

ActiveLibrary

it-pirs/konnektive-api
======================

A PHP implementation of the Konnektive CRM v2 API

v2.0.1(5y ago)151[1 PRs](https://github.com/it-pirs/konnektive-api/pulls)MITPHPPHP &gt;=7.1.3

Since Jan 19Pushed 1y agoCompare

[ Source](https://github.com/it-pirs/konnektive-api)[ Packagist](https://packagist.org/packages/it-pirs/konnektive-api)[ RSS](/packages/it-pirs-konnektive-api/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (6)Versions (9)Used By (0)

Konnektive CRM API Integration
==============================

[](#konnektive-crm-api-integration)

[![Latest Stable Version](https://camo.githubusercontent.com/2d477d6f955fca81e836e7b0beed7eb7099d74711424c2dc576ef6397a787bb6/68747470733a2f2f706f7365722e707567782e6f72672f69742d706972732f6b6f6e6e656b746976652d6170692f762f737461626c65)](https://packagist.org/packages/it-pirs/konnektive-api)[![Latest Unstable Version](https://camo.githubusercontent.com/1e04cab000d7215c60eeb94c267e05f1e97ec255d05b6207534bd7436ae05c0f/68747470733a2f2f706f7365722e707567782e6f72672f69742d706972732f6b6f6e6e656b746976652d6170692f762f756e737461626c65)](https://packagist.org/packages/it-pirs/konnektive-api)[![Total Downloads](https://camo.githubusercontent.com/0c933163bea1c53e155aa496c74a1b868bed878f2bb9a2c84ae3a975a48bdbb6/68747470733a2f2f706f7365722e707567782e6f72672f69742d706972732f6b6f6e6e656b746976652d6170692f646f776e6c6f616473)](https://packagist.org/packages/it-pirs/konnektive-api)[![License](https://camo.githubusercontent.com/c1a4dd9368d278f5d83c59d2d30c5b7a014873a10f92199e23a69121d58eed7e/68747470733a2f2f706f7365722e707567782e6f72672f69742d706972732f6b6f6e6e656b746976652d6170692f6c6963656e7365)](https://packagist.org/packages/it-pirs/konnektive-api)

---

What It Is
----------

[](#what-it-is)

A simple API integration that allows developers to interact with Konnektive CRM's v2 API. All methods are implemented and fully validated as of September 24, 2018

Licensed under the MIT license:

Why Use This
------------

[](#why-use-this)

When processing transactions and customer data through offers, marketers can benefit substantially from the use of a well tested and consistent 3rd party API integration.

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

[](#installation)

Use `composer require it-pirs/konnektive-api` or add it manually to `composer.json` (See latest version in badges).

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

[](#getting-started)

`Konnektive` crm integration can be implemented easily by simply filling up one of the request classes and handing it off to the dispatcher for processing like so:

```
use Konnektive\Dispatcher;

class OfferProcessor {
    public function addCustomerNote(){
        $dispatcher = new Dispatcher();
        /**
        * @var $request \Konnektive\Request\Customer\AddCustomerNoteRequest;
        */
        $request = new AddCustomerNoteRequest();
        $request->loginId = "SomeValidStringForID";
        $request->password = "SomeValidPassword";
        $request->customerId = "123123";
        $request->message = "TestMessage";
        /**
        * @var $response \Konnektive\Response\Response;
        */
        $response = $dispatcher->handle($request);
        if($response->isSuccessful()){
            //Do the thing.
        }
    }
}
```

> **Note:** Custom handlers can be created and passed to Dispatcher during construction.

Custom Handlers
---------------

[](#custom-handlers)

If you would like to use a custom handler for the dispatch of your request, you can create a new Handler class that implements the IHandler interface:

```
use Konnektive\Contracts\IHandler;

class CustomHandler implements IHandler
{
    /**
    * @var $request \Konnektive\Request\Request
    * @return \Konnektive\Response\Response
    */
    public function handle(Request $request){
        //Handle that request
        return new Response(/* Some response data from cUrl */);
    }
}
```

The new `CustomHandler` can be passed into the dispatcher at construction or later:

```
$dispatcher = new Dispatcher(new CustomHandler());
////
$dispatcher->setHandler(new CustomHandler());
```

Validation
----------

[](#validation)

All requests will be validated prior to executing the handler. All validation failures are provided through the `\Illuminate\Validation\ValidationException`. These exceptions are not caught and must be handled in your own code! Validation can also be done prior to dispatch by calling `validate()` on the request object:

```
/**
* @var $request \Konnektive\Request\Customer\AddCustomerNoteRequest;
*/
$request = new AddCustomerNoteRequest();
$request->loginId = "SomeValidStringForID";
$request->message = "TestMessage";
try {
    $request->validate();
} catch(ValidationException $ex){
    //Fails for customerId and password
}
```

Requirements
------------

[](#requirements)

- PHP 7.0+

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 62.5% 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 ~214 days

Recently: every ~259 days

Total

7

Last Release

2111d ago

Major Versions

0.7 → 1.32018-02-28

1.9.4 → 2.02018-10-01

PHP version history (3 changes)0.5.5PHP &gt;=5.6.4

1.9.4PHP &gt;=7.0

2.0PHP &gt;=7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/2782ffd1e180cdd554b54f0013913524b3f69f8829f448de42e4413719d2258d?d=identicon)[freedayko](/maintainers/freedayko)

---

Top Contributors

[![palian-demo](https://avatars.githubusercontent.com/u/130355244?v=4)](https://github.com/palian-demo "palian-demo (5 commits)")[![progjp](https://avatars.githubusercontent.com/u/2581635?v=4)](https://github.com/progjp "progjp (2 commits)")[![AmbulantRex](https://avatars.githubusercontent.com/u/21176662?v=4)](https://github.com/AmbulantRex "AmbulantRex (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/it-pirs-konnektive-api/health.svg)

```
[![Health](https://phpackages.com/badges/it-pirs-konnektive-api/health.svg)](https://phpackages.com/packages/it-pirs-konnektive-api)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M529](/packages/laravel-passport)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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