PHPackages                             secucard/secucard-connect - 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. [API Development](/categories/api)
4. /
5. secucard/secucard-connect

ActiveLibrary[API Development](/categories/api)

secucard/secucard-connect
=========================

secucard connect PHP client SDK

v2.0.0(7y ago)234.3k↓47.1%1[1 PRs](https://github.com/secucard/secucard-connect-php-sdk/pulls)Apache-2.0PHPPHP &gt;=5.5.0

Since Nov 3Pushed 1y ago8 watchersCompare

[ Source](https://github.com/secucard/secucard-connect-php-sdk)[ Packagist](https://packagist.org/packages/secucard/secucard-connect)[ Docs](https://github.com/secucard/secucard-connect-php-sdk)[ RSS](/packages/secucard-secucard-connect/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (77)Used By (0)

secucard connect PHP SDK
========================

[](#secucard-connect-php-sdk)

**If you start with a new project please use this SDK: **

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

[](#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.:  ).

Composer
--------

[](#composer)

You can install the bindings via [Composer](http://getcomposer.org/). 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](https://getcomposer.org/doc/00-intro.md#autoloading):

```
require_once('vendor/autoload.php');
```

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

[](#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
-------------

[](#documentation)

Please see  for up-to-date documentation.

Tests
-----

[](#tests)

In order to run tests first install [PHPUnit](http://packagist.org/packages/phpunit/phpunit) via [Composer](http://getcomposer.org/):

```
composer update --dev
```

To run the test suite:

```
./vendor/bin/phpunit
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 55.6% 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 ~50 days

Recently: every ~161 days

Total

73

Last Release

615d ago

Major Versions

v0.1.3 → v1.0.02016-03-12

v1.9.0 → v2.0.02018-09-18

PHP version history (3 changes)v0.0.1PHP &gt;=5.3.0

v1.0.0PHP &gt;=5.5.0

1.24.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/06b42f50771f1951ebe446cf951c2b2240d92c03d4efe4966b888bb2446b58c1?d=identicon)[r-simlinger](/maintainers/r-simlinger)

![](https://www.gravatar.com/avatar/fb5faf7e58c3a9407cb6e8f9dfcd41ca37e0c25fe6b77132a8b4962b81a19925?d=identicon)[lvagt-secupay](/maintainers/lvagt-secupay)

---

Top Contributors

[![r-simlinger](https://avatars.githubusercontent.com/u/21192241?v=4)](https://github.com/r-simlinger "r-simlinger (159 commits)")[![tkrau55](https://avatars.githubusercontent.com/u/9268729?v=4)](https://github.com/tkrau55 "tkrau55 (81 commits)")[![AntonLunyovBV](https://avatars.githubusercontent.com/u/34677551?v=4)](https://github.com/AntonLunyovBV "AntonLunyovBV (16 commits)")[![amommert](https://avatars.githubusercontent.com/u/26221672?v=4)](https://github.com/amommert "amommert (12 commits)")[![cooper-ua](https://avatars.githubusercontent.com/u/3647952?v=4)](https://github.com/cooper-ua "cooper-ua (5 commits)")[![wgasiewskisecupay](https://avatars.githubusercontent.com/u/44290940?v=4)](https://github.com/wgasiewskisecupay "wgasiewskisecupay (4 commits)")[![piotr-czerwinski-bv](https://avatars.githubusercontent.com/u/34545851?v=4)](https://github.com/piotr-czerwinski-bv "piotr-czerwinski-bv (3 commits)")[![MoloToha](https://avatars.githubusercontent.com/u/5648479?v=4)](https://github.com/MoloToha "MoloToha (3 commits)")[![marcelpra](https://avatars.githubusercontent.com/u/24280677?v=4)](https://github.com/marcelpra "marcelpra (2 commits)")[![jakub01](https://avatars.githubusercontent.com/u/8502532?v=4)](https://github.com/jakub01 "jakub01 (1 commits)")

### Embed Badge

![Health badge](/badges/secucard-secucard-connect/health.svg)

```
[![Health](https://phpackages.com/badges/secucard-secucard-connect/health.svg)](https://phpackages.com/packages/secucard-secucard-connect)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[brd6/notion-sdk-php

Notion SDK for PHP

5918.0k](/packages/brd6-notion-sdk-php)[dhope0000/lxd

PHP-based API wrapper for LXD REST API.

136.2k](/packages/dhope0000-lxd)[wordpress/php-ai-client

A provider agnostic PHP AI client SDK to communicate with any generative AI models of various capabilities using a uniform API.

26236.6k14](/packages/wordpress-php-ai-client)

PHPackages © 2026

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