PHPackages                             rpi/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. rpi/pigpio

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

rpi/pigpio
==========

Library for the Raspberry Pi.

0.0.1(5y ago)38MITPHPPHP ^8.0

Since Nov 7Pushed 5y ago2 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

PHP bindings to the [pigpio](http://abyz.me.uk/rpi/pigpio/) C library.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0
- PHP FFI extension available
- pigpio

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

[](#installation)

```
    composer require rpi/pigpio

```

**Example:**

```
require __DIR__ . '/vendor/autoload.php';

use Serafim\FFILoader\Loader;
use Rpi\Pigpio\Library;

$loader = new Loader();
$ffi = $loader->load(new Library())->ffi;

$ffi->gpioInitialise();

$ffi->gpioWrite(14, 1);

$ffi->gpioTerminate();
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

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

2063d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13917602?v=4)[Dima](/maintainers/kmaestro)[@kmaestro](https://github.com/kmaestro)

---

Top Contributors

[![kmaestro](https://avatars.githubusercontent.com/u/13917602?v=4)](https://github.com/kmaestro "kmaestro (5 commits)")

---

Tags

GPIOraspberry pi

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[ronanguilloux/php-gpio

GPIO-related utils &amp; toolkit PHP library

2688.0k](/packages/ronanguilloux-php-gpio)[piphp/gpio

A library for accessing the GPIO pins on a Raspberry Pi

4315.9k2](/packages/piphp-gpio)

PHPackages © 2026

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