secucard / secucard-connect
secucard connect PHP client SDK
Installs: 33 768
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 8
Forks: 1
Open Issues: 1
pkg:composer/secucard/secucard-connect
Requires
- php: >=5.5.0
 - netresearch/jsonmapper: ^1.4
 - php-http/client-common: ^1.7
 - php-http/client-implementation: ^1.0
 - php-http/discovery: ^1.4
 - php-http/httplug: ^1.1
 - php-http/logger-plugin: ^1.0
 - php-http/message-factory: ^1.0
 - psr/http-message: ^1.0
 - psr/log: ~1.0
 
Requires (Dev)
- php-http/mock-client: 1.1.*
 
- dev-master
 - v2.0.0
 - 1.27.0
 - 1.26.0
 - 1.25.0
 - 1.24.0
 - 1.23.0
 - 1.22.0
 - 1.21.0
 - 1.20.0
 - 1.19.0
 - 1.18.0
 - 1.17.1
 - 1.17.0
 - 1.16.0
 - 1.15.0
 - 1.14.1
 - 1.14.0
 - 1.13.11
 - 1.13.10
 - 1.13.9
 - 1.13.8
 - 1.13.7
 - 1.13.6
 - 1.13.5
 - 1.13.4
 - 1.13.3
 - 1.13.1
 - 1.13.0
 - 1.12.2
 - 1.12.1
 - 1.12.0
 - v1.11.2
 - v1.11.1
 - v1.11.0
 - v1.10.1
 - v1.10.0
 - v1.9.5
 - v1.9.4
 - v1.9.3
 - v1.9.2
 - v1.9.1
 - v1.9.0
 - v1.8.0
 - v1.7.1
 - v1.7.0
 - v1.6.1
 - v1.6.0
 - v1.5.1
 - v1.5.0
 - v1.4.1
 - v1.4.0
 - v1.3.1
 - v1.1.2
 - v1.1.0
 - v1.0.9
 - v1.0.8
 - v1.0.7
 - v1.0.6
 - v1.0.5
 - v1.0.4
 - v1.0.3
 - v1.0.2
 - v1.0.1
 - v1.0.0
 - v0.1.3
 - v0.1.2
 - v0.1.1
 - v0.1.0
 - v0.0.5
 - v0.0.4
 - v0.0.3
 - v0.0.2
 - v0.0.1
 - dev-dependabot/composer/netresearch/jsonmapper-tw-5.0.0
 - dev-develop
 - dev-support/2.x
 
This package is auto-updated.
Last update: 2025-10-10 15:10:37 UTC
README
If you start with a new project please use this SDK: https://github.com/secuconnect/secuconnect-php-sdk
Requirements
- PHP 7.4.0 and later.
 - Composer.
 - If you are using a bytecode cache, such as APC activate the storage and load of PHPDoc comments. (For more information see f.e.: http://php.net/manual/de/opcache.configuration.php#ini.opcache.save-comments ).
 
Composer
You can install the bindings via Composer. Add this to your composer.json:
{
  "require": {
    "secucard/secucard-connect":"^1.26.0"
  }
}
Then install via:
composer install
To use the bindings, use Composer's autoload:
require_once('vendor/autoload.php');
Getting Started
Simple usage with client credentials looks like:
include "vendor/autoload.php"; $config = array(); $credentials = new ClientCredentials('your-id','your-secret') $fp = fopen("/tmp/secucard_php_test.log", "a"); $logger = new secucard\client\log\Logger($fp, true); // general storage, here used shared for tokens and internal caching, but recommendation is to split up in two $store = new FileStorage('your-storage-file-path'); // create Secucard client $secucard = new SecucardConnect($config, $logger, $store, $store, $credentials); // use secucard client to get available loyalty/cards list $list = $secucard->Loyalty->Cards->getList();
Documentation
Please see http://developer.secuconnect.com/doc/guide for up-to-date documentation.
Tests
In order to run tests first install PHPUnit via Composer:
composer update --dev
To run the test suite:
./vendor/bin/phpunit