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 2mo 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 2d ago

READMEChangelog (1)Dependencies (1)Versions (4)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

28

—

LowBetter than 52% of packages

Maintenance61

Regular maintenance activity

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

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

724d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10816630?v=4)[helip](/maintainers/helip)[@helip](https://github.com/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

[tianhe1986/fatsmalltools

some small tools

991.2k](/packages/tianhe1986-fatsmalltools)[vildanbina/laravel-versions

A Laravel package for managing model drafts.

334.0k](/packages/vildanbina-laravel-versions)

PHPackages © 2026

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