PHPackages                             helip/structured-communication - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. helip/structured-communication

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

helip/structured-communication
==============================

Calcul de la communication structurée belge

0.1(1y ago)015[1 PRs](https://github.com/helinp/helip-structured-communication/pulls)LGPL3PHPCI passing

Since Jul 10Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/helinp/helip-structured-communication)[ Packagist](https://packagist.org/packages/helip/structured-communication)[ RSS](/packages/helip-structured-communication/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Helip\\StructuredCommunication
==============================

[](#helipstructuredcommunication)

This PHP library provides a set of tools for handling Belgian bank structured communications, ensuring correct data formatting, control number calculations, and validations according to standard practices.

Features
--------

[](#features)

- **Control Number Calculation**: Generate control numbers for a given 10-digit data input.
- **Data Formatting**: Format structured communication strings in the official pattern `+++ 123 / 1234 / 12345 +++`.
- **Data Validation**: Extensive validation for input data to ensure they conform to expected formats and standards.
- **Error Handling**: Utilizes custom exceptions to manage and report specific error scenarios effectively.

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

[](#requirements)

- PHP 8.0 or higher

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require helip/structured-communication
```

Usage
-----

[](#usage)

Here's a quick example to get you started:

```
use StructuredCommunication\StructuredCommunication;

try {
    $communication = new StructuredCommunication('1234567890');
    echo $communication->getFormattedCommunication();
} catch (Exception $e) {
    echo 'Error: ' . $e->getMessage();
}
```

Exceptions
----------

[](#exceptions)

Custom exceptions for handling specific errors:

- `InvalidDataException`
- `InvalidControlNumberException`
- `InvalidCommunicationFormatException`

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit pull requests or create issues for bugs and feature requests.

License
-------

[](#license)

This project is licensed under the LGPL-3.0 License - see the [LICENSE.md](LICENSE.md) file for details.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance59

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

678d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d4c88dc97ceb49817f96dbd5313804ecc519a17a665cd76d0155f35a643646d?d=identicon)[helip](/maintainers/helip)

---

Top Contributors

[![helinp](https://avatars.githubusercontent.com/u/14966972?v=4)](https://github.com/helinp "helinp (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/helip-structured-communication/health.svg)

```
[![Health](https://phpackages.com/badges/helip-structured-communication/health.svg)](https://phpackages.com/packages/helip-structured-communication)
```

###  Alternatives

[thedudeguy/rcon

Simple Rcon class for php.

16259.4k1](/packages/thedudeguy-rcon)[padosoft/support

agnostic helpers to use as foundation in packages and other project

5117.0k5](/packages/padosoft-support)[moe/full-calendar

A lightweight calendar module for Silverstripe. Implements the popular javascript http://fullcalendar.io/ library.

121.5k](/packages/moe-full-calendar)

PHPackages © 2026

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