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(11mo ago)01MITPHPPHP &gt;=8.2CI passing

Since Jul 11Pushed 11mo ago1 watchersCompare

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

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 57% of packages

Maintenance50

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

358d 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

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M47](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45153.1k6](/packages/jstewmc-rtf)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.2k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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