Download the PHP package getkevin/kevin-php without Composer

On this page you can find all versions of the php package getkevin/kevin-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package kevin-php

kevin. PHP Client

PHP client implementing kevin. API.

Prerequisites

Installation

Composer

  1. To install latest kevin. PHP Client repository using composer:

  2. Using Composer autoloader, include kevin. PHP Client:

Detailed information about available versions can be found at packagist repository:

https://packagist.org/packages/getkevin/kevin-php

Usage Examples

Parameter names and response data match those defined in API documentation.

Detailed API documentation can be found here.

Initialization

$clientId - Your client id. Your can get it in kevin. platform console.

$clientSecret - Your client secret. Your can get it in kevin. platform console.

$options - Optional options array.

  • error - Defines return type of error data. Possible values are: array - returns an array on error, exception - throws an exception on error, default value is exception.

  • version - Selects API versions to use. Default value is 0.3. Possible values are 0.1, 0.2 or 0.3.

  • lang - a two-letter lowercase language code defined in ISO 639-1 standart. Sets the language of the frame page.

1. Authentication

1.1 Get supported countries

1.2 Get supported banks

1.3 Get supported bank

1.4 Get project settings

1.5 Start authentication

1.6 Receive token

1.7 Refresh token

1.8 Receive token content

2. Payment

2.1 Initiate bank payment

2.2 Initiate card payment

2.3 Initiate hybrid payment

2.4 Get payment

2.5 Get payment status

2.6 Initiate payment refund

2.7 Get payment refunds

3. Account

3.1 Get accounts

3.2 Get account details

3.3 Get account transactions

3.4 Get account balance

4. Security

4.1 Verify signature

:exclamation: We recommend ignoring the webhook if the signature is older than 5 minutes.

Contributing

Before making any code changes, make sure to run composer install to install development requirements.

We are using PHP CS Fixer GitHub action to conduct code style checks for each commit and pull request. Make sure to run composer fix-style before committing changes to make sure your code matches our style standards. Pull requests with failed style checks will not be approved.

WARNING: we use risky rules so make sure to check for breaking style fixes.

Style errors and violated rules log can be viewed by running composer check-style command.

Support

Email: [email protected]

License


All versions of kevin-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package getkevin/kevin-php contains the following files

Loading the files please wait ....