PHPackages                             sivi/afd.connectors - 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. sivi/afd.connectors

ActiveLibrary

sivi/afd.connectors
===================

A library with connectors to fetch ADN messages

v2.1.0(3mo ago)010.8k↑12.5%1MITPHP

Since Nov 7Pushed 3mo ago4 watchersCompare

[ Source](https://github.com/rapideinternet/afd.connectors)[ Packagist](https://packagist.org/packages/sivi/afd.connectors)[ RSS](/packages/sivi-afdconnectors/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (15)Used By (1)

SIVI AFD Connectors
===================

[](#sivi-afd-connectors)

Currently implemented:

- TIMEConnector

TIMEConnector
-------------

[](#timeconnector)

The TIMEConnector implements the [TIME API](https://solera.nl/time). A prerequisite for using this API is that you have a valid [Solera Digital Passport](https://solera.nl/bedrijfscertificaat/).

### How to

[](#how-to)

Instantiation requires a `TIMEConfig` interface which you will need to implement to provide the connector with configuration details.

Example implementation:

```
class TIMEConfig implements \SIVI\AFDConnectors\Config\Contracts\TIMEConfig
{

    protected $host;
    protected $wsdlStoragePath;
    protected $certificatePath;
    protected $certificatePassphrase;

    public function __construct($host, $wsdlStoragePath, $certificatePath, $certificatePassphrase)
    {
        $this->host = $host;
        $this->wsdlStoragePath = $wsdlStoragePath;
        $this->certificatePath = $certificatePath;
        $this->certificatePassphrase = $certificatePassphrase;
    }

    /**
     * Get the host of the service
     *
     * @return string
     */
    public function getHost()
    {
        return $this->host;
    }

    /**
     * The path where the WSDL for the service will be stored.
     *
     * This is because the WSDL is not public and needs to be requested with
     * a client certificate. The PHP SOAP extension does not support
     * this and that is why a local one must be created.
     *
     * @return string
     */
    public function getWSDLStoragePath()
    {
        return $this->wsdlStoragePath;
    }

    /**
     * The path where the Solera certificate is stored.
     * This needs to be a PEM file.
     *
     * @return string
     */
    public function getCertificatePath()
    {
        return $this->certificatePath;
    }

    /**
     * The passphrase of the Solera certificate.
     *
     * @return string
     */
    public function getCertificatePassphrase()
    {
        return $this->certificatePassphrase;
    }
}
```

After you've got your config sorted it's time to get some messages. This piece of code will get all unread messages from TIME and print them.

```
use SIVI\AFDConnectors\Connectors\TIMEConnector;

// Initialize config
$config = new TIMEConfig(
    'https://www.web.service/sts/portal',
    '/tmp/',
    '/path/to/solera/certificate.pem',
    'certificate password'
);

// Initialize connector
$connector = new TIMEConnector($config);

// This will return an array of SIVI\AFD\Interfaces\TIME\Message items
// which implement the SIVI\AFD\Interfaces\BatchMessage interface.
foreach ($connector->getMessage() as $batchMessage) {
    // This will return an array of SIVI\AFD\Interfaces\TIME\Message items
    // which implement the SIVI\AFD\Interfaces\Message interface.
    foreach ($batchMessage->getMessages() as $message) {
        echo sprintf('TIME Message extension: %s%s', $message->getType(), PHP_EOL);
        echo sprintf('TIME Message content: %s%s%s', PHP_EOL, $message->getData(), PHP_EOL);
    }
}
```

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance79

Regular maintenance activity

Popularity24

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 67.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 ~239 days

Recently: every ~529 days

Total

12

Last Release

112d ago

Major Versions

v1.1.2 → v2.0.02019-10-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/ceff31c1c80d96b725cd8162c67294850cad3848701b5a1d9afa9efce0da15ad?d=identicon)[petermein](/maintainers/petermein)

![](https://www.gravatar.com/avatar/276ac615994962c132eb8c6af822850eecf36cf6482969c673fe0d95a1266a9d?d=identicon)[lucasvdh](/maintainers/lucasvdh)

---

Top Contributors

[![lucasvdh](https://avatars.githubusercontent.com/u/4311594?v=4)](https://github.com/lucasvdh "lucasvdh (23 commits)")[![pktromp](https://avatars.githubusercontent.com/u/70580685?v=4)](https://github.com/pktromp "pktromp (5 commits)")[![petermein](https://avatars.githubusercontent.com/u/311652?v=4)](https://github.com/petermein "petermein (4 commits)")[![VictorPreda](https://avatars.githubusercontent.com/u/17161276?v=4)](https://github.com/VictorPreda "VictorPreda (2 commits)")

### Embed Badge

![Health badge](/badges/sivi-afdconnectors/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[netflie/whatsapp-cloud-api

The first PHP SDK to send and receive messages using a cloud-hosted version of the WhatsApp Business Platform

640431.7k4](/packages/netflie-whatsapp-cloud-api)[ashallendesign/laravel-exchange-rates

A wrapper package for interacting with the exchangeratesapi.io API.

485677.8k](/packages/ashallendesign-laravel-exchange-rates)[rareloop/lumberjack-core

A powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code

42155.0k19](/packages/rareloop-lumberjack-core)

PHPackages © 2026

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