-
Notifications
You must be signed in to change notification settings - Fork 10
Include PHP SDK
preslav-anev edited this page Aug 25, 2017
·
13 revisions
Once you have completed the Installation, we could make the first call. To write an app that uses the SDK, we will create our first PHP script that will store a Credit Card in our Vault.
This will include all files and classes to your autoloader. This SDK provides an spl_autoload_register() compatible class loader which reduces the need for fragile relative path based require directives within the SDK itself. This autoloader is enabled by including the src/autoload.php script in your code.
<?php
// 1. Autoload the SDK Package. This will include all the files and classes to your autoloader
// Used for composer based installation
require __DIR__ . './vendor/autoload.php';
// Use below for direct download installation
require __DIR__ . '/path-to-Kount-PHP-SDK/src/autoload.php';Getting Started
Using Our SDK
Advanced documentation
