PHPackages                             blackmorth/protolyze - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. blackmorth/protolyze

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

blackmorth/protolyze
====================

Bibliothèque PHP pour l'analyse et la manipulation de messages SIP

v1.0.0(10mo ago)01MITPHPPHP &gt;=8.2CI passing

Since Jul 11Pushed 10mo ago1 watchersCompare

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

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Protolyze
=========

[](#protolyze)

[![Protolyze CI](https://github.com/blackmorth/protolyze/workflows/Protolyze%20CI/badge.svg)](https://github.com/blackmorth/protolyze/workflows/Protolyze%20CI/badge.svg)[![codecov](https://camo.githubusercontent.com/297284183b714a254e5550d066a05eae87c528f28e50324e8c8f0443d1344351/68747470733a2f2f636f6465636f762e696f2f67682f626c61636b6d6f7274682f70726f746f6c797a652f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/blackmorth/protolyze)

Protolyze est une librairie PHP pour analyser et manipuler les messages SIP.

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

[](#installation)

Utilisez Composer pour installer la librairie :

```
composer require blackmorth/protolyze
```

Utilisation
-----------

[](#utilisation)

```
use Protolyze\Protolyze;

$sip = new Protolyze();
$message = $sip->parse($sipMessage);

// Accéder aux informations du message
echo $message->isRequest() ? "Requête" : "Réponse";
echo $message->startLine->method ?? "";

// Convertir en JSON
$json = $sip->toJson($message, true);

// Normaliser un message
$normalized = $sip->normalize($sipMessage);
```

Développement
-------------

[](#développement)

### Avec Docker

[](#avec-docker)

```
# Construction de l'image
make build

# Exécution des tests
make test

# Génération du rapport de couverture
make coverage

# Vérification du style de code
make lint
```

### Documentation

[](#documentation)

La documentation est disponible [ici](https://blackmorth.github.io/protolyze/).

Licence
-------

[](#licence)

MIT

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance54

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

304d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/366c7cc801d4a792c3c26bcb80eed4e4bd0082121e93e0aedca50f001b20d44c?d=identicon)[blackmorth](/maintainers/blackmorth)

---

Top Contributors

[![blackmorth](https://avatars.githubusercontent.com/u/13538858?v=4)](https://github.com/blackmorth "blackmorth (13 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/blackmorth-protolyze/health.svg)

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

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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