PHPackages                             volantus/msp-protocol - 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. volantus/msp-protocol

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

volantus/msp-protocol
=====================

PHP implementation of the SMP protocol + serial communication adapter

1.2.0(9y ago)0641GNUv3PHP

Since May 24Pushed 9y ago2 watchersCompare

[ Source](https://github.com/Volantus/msp-protocol)[ Packagist](https://packagist.org/packages/volantus/msp-protocol)[ RSS](/packages/volantus-msp-protocol/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (8)Used By (1)

MSP Protocol in PHP
===================

[](#msp-protocol-in-php)

A PHP implementation of the MSP (serial multiwii) protocol

Usage
-----

[](#usage)

Complete device communication is handled by CommunicationService, which gets a SerialInterface injected.

```
    use Volantus\MSPProtocol\Src\Protocol\CommunicationService;
    use Volantus\MSPProtocol\Src\Protocol\Request\MotorStatus as MotorStatusRequest;
    use Volantus\MSPProtocol\Src\Protocol\Response\MotorStatus as MotorStatusResponse;
    use Volantus\MSPProtocol\Src\Serial\SerialInterface;

    $serialInterface = new SerialInterface('/dev/ttyUSB0', 115200);
    $service = new CommunicationService($serialInterface);

    /** @var MotorStatusResponse $response */
    $response = $service->send(new MotorStatusRequest());

    // Status of the first motor (Value between 1000 and 2000)
    $response->getStatuses()[0];
```

Requests/Response
-----------------

[](#requestsresponse)

> The current request/response implementation set is not complete yet. Especially custom packages from Clean-/Betaflight are missing. Contributors are highly welcome.

All request and responses are encapsulated into objects, which includes interpretation logic about their respective payload structure.

- Request namespace: Volantus\\MSPProtocol\\Src\\Protocol\\Request
- Response namespace: Volantus\\MSPProtocol\\Src\\Protocol\\Response

For a complete list of available (orginal MultiWii) packages please consult the [official documentation](http://www.multiwii.com/wiki/index.php?title=Multiwii_Serial_Protocol).

Contribution
------------

[](#contribution)

Contributors a highly welcome. Please respect the following basic rules:

### Code style

[](#code-style)

The project follows the ZEND code style with a extended flexible line size.

### Tests

[](#tests)

Please create/extend/modify unit and integration tests. System dependencies should always be mocked.

### Workflow

[](#workflow)

1. Fork the repository
2. Create feature branch from master
3. Create pull request

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 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

Every ~2 days

Total

7

Last Release

3315d ago

### Community

Maintainers

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

---

Top Contributors

[![marius-meissner](https://avatars.githubusercontent.com/u/4172752?v=4)](https://github.com/marius-meissner "marius-meissner (10 commits)")

### Embed Badge

![Health badge](/badges/volantus-msp-protocol/health.svg)

```
[![Health](https://phpackages.com/badges/volantus-msp-protocol/health.svg)](https://phpackages.com/packages/volantus-msp-protocol)
```

###  Alternatives

[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

39250.0k28](/packages/ec-europa-toolkit)

PHPackages © 2026

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