PHPackages                             piphp/pipin - 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. piphp/pipin

ActiveLibrary

piphp/pipin
===========

A tool for accessing the GPIO pins on a Raspberry Pi

v0.1.0(10y ago)434MITPHP

Since Dec 16Pushed 10y ago2 watchersCompare

[ Source](https://github.com/PiPHP/PiPin)[ Packagist](https://packagist.org/packages/piphp/pipin)[ RSS](/packages/piphp-pipin/feed)WikiDiscussions master Synced 1mo ago

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

PiPin
=====

[](#pipin)

A tool for managing the GPIO pins on a Raspberry Pi.

Usage
-----

[](#usage)

```
# Export/Unexport a pin
pipin export   [pin]
pipin unexport [pin]

# Reading a pin state
pipin value     [pin]
pipin direction [pin]
pipin edge      [pin]

# Changing a pin state
pipin value     [pin] [0|1]
pipin direction [pin] [in|out]
pipin edge      [pin] [none|both|falling|rising]
```

How To Install
--------------

[](#how-to-install)

Make sure you have [composer](https://getcomposer.org/) installed, then:

```
composer global require piphp/pipin
```

Make sure you have added your global composer binary directory to the PATH in your `~/.bash_profile` (or `~/.bashrc`) file:

```
export PATH=~/.composer/vendor/bin:$PATH
```

[This blog](https://akrabat.com/global-installation-of-php-tools-with-composer/) explains the process of global composer installs in more detail.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

3797d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e7abce428a9dc9c76f4275ca8d8d11ad55138d72f3e3e2b01c6b2da5b479cc0?d=identicon)[AndrewCarterUK](/maintainers/AndrewCarterUK)

---

Top Contributors

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

---

Tags

pinGPIOraspberrypinspipipin

### Embed Badge

![Health badge](/badges/piphp-pipin/health.svg)

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

###  Alternatives

[piphp/gpio

A library for accessing the GPIO pins on a Raspberry Pi

4325.9k2](/packages/piphp-gpio)[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[ronanguilloux/php-gpio

GPIO-related utils &amp; toolkit PHP library

2678.0k](/packages/ronanguilloux-php-gpio)[badges/poser

Poser, add badges on your readme..

14174.8k8](/packages/badges-poser)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[php-soap/wsdl-reader

A WSDL reader in PHP

212.3M9](/packages/php-soap-wsdl-reader)

PHPackages © 2026

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