Download the PHP package it-pirs/konnektive-api without Composer
On this page you can find all versions of the php package it-pirs/konnektive-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download it-pirs/konnektive-api
More information about it-pirs/konnektive-api
Files in it-pirs/konnektive-api
Package konnektive-api
Short Description A PHP implementation of the Konnektive CRM v2 API
License MIT
Informations about the package konnektive-api
Konnektive CRM API Integration
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: http://www.opensource.org/licenses/mit-license.php
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
Use composer require it-pirs/konnektive-api
or add it manually to composer.json
(See latest version in badges).
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:
Note: Custom handlers can be created and passed to Dispatcher during construction.
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:
The new CustomHandler
can be passed into the dispatcher at construction or later:
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:
Requirements
- PHP 7.0+
All versions of konnektive-api with dependencies
php Version >=7.1.3
illuminate/validation Version 5.7.*
illuminate/translation Version 5.7.*
illuminate/container Version 5.7.*
illuminate/database Version 5.7.*
fzaninotto/faker Version ^1.8