PHPackages                             volantus/php-pigpio - 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/php-pigpio

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

volantus/php-pigpio
===================

PHP client for the pigpio daemon library

0.3.0(7y ago)101343[1 issues](https://github.com/Volantus/php-pigpio/issues)GPL-3.0-onlyPHPPHP ^7.0

Since Mar 15Pushed 3y ago4 watchersCompare

[ Source](https://github.com/Volantus/php-pigpio)[ Packagist](https://packagist.org/packages/volantus/php-pigpio)[ RSS](/packages/volantus-php-pigpio/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (3)Versions (14)Used By (0)

Pigpio client library for PHP
=============================

[](#pigpio-client-library-for-php)

[![Latest Stable Version](https://camo.githubusercontent.com/7bef54710980166487ffdb69d249f75292db6a48801b12a7ff1ab2e63161a0fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f766f6c616e7475732f7068702d70696770696f2e737667)](https://packagist.org/packages/volantus/php-pigpio)[![Build status](https://camo.githubusercontent.com/f19c2aa86708917894b38f698ff1b223c1f54bac786553abc986121b64d0c520/68747470733a2f2f6170692e7472617669732d63692e6f72672f566f6c616e7475732f7068702d70696770696f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Volantus/php-pigpio)

PHP client for the great [Pigpio daemon](http://abyz.me.uk/rpi/pigpio/pigpiod.html) library

‼️ Alpha status:

> Library is currently in Alpha status. Bugs may occur, library may be unstable, API may be changed anytime.

> Feedback and bug reports are highly welcome!

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

[](#installation)

Library may be installed by using [Composer](https://getcomposer.org/):

```
composer require volantus/php-pigpio

```

Features
--------

[](#features)

Currently the following features are fully implemented. If your desired Pigpio feature is not fully supported, you may use [raw requests](https://github.com/Volantus/php-pigpio/blob/master/docs/raw-requests.md).

FeatureStatusVersion[Notifications (e.g. GPIO changes)](https://github.com/Volantus/php-pigpio/blob/master/docs/notifications.md)✔️ Fully supported0.1.1[Reading PWM signals](https://github.com/Volantus/php-pigpio/blob/master/docs/reading-pwm-signals.md)✔️ Fully supported0.1.2[Sending PWM signals](https://github.com/Volantus/php-pigpio/blob/master/docs/sending-pwm-signals.md)✔️ Fully supported0.3.0[SPI communication](https://github.com/Volantus/php-pigpio/blob/master/docs/spi-communication.md)✔️ Fully supported0.2.0[Hall sensors rotation counter](https://github.com/Volantus/php-pigpio/blob/master/docs/rotation-counter.md)✔️ Fully supported0.2.5[Raw requests/response handling](https://github.com/Volantus/php-pigpio/blob/master/docs/raw-requests.md)✔️ Fully supported0.1.1Basic usage
-----------

[](#basic-usage)

This library is interacting with Pigpio by using sockets. The core communication is handled by the Client class:

```
use Volantus\Pigpio\Client;
use Volantus\Pigpio\Network\Socket;

$client = new Client(new Socket('127.0.0.1', 8888));
```

### Starting the Pigpio daemon

[](#starting-the-pigpio-daemon)

If the daemon is not running already, it can simply be started via:

```
sudo pigpiod
```

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

[](#contribution)

Contributors are highly welcome! Please report bugs, ask questions and create feature requests :)

### Pull requests

[](#pull-requests)

Three simple rules:

1. Write Tests
2. Follow the project code style
3. Use feature branches/forks and pull requests

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

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

Every ~10 days

Recently: every ~23 days

Total

11

Last Release

2881d 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 (74 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/volantus-php-pigpio/health.svg)

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

###  Alternatives

[guava/filament-icon-picker

A filament plugin that adds an icon picker field.

161531.9k25](/packages/guava-filament-icon-picker)

PHPackages © 2026

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