PHPackages                             ioteducation/gpio - 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. ioteducation/gpio

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

ioteducation/gpio
=================

An extension that works with a simple api to control GPIO's of Raspberry PI 3, using Wiring Pi library

v0.1.0(7y ago)04PHPPHP ^7.2.0

Since Mar 21Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ioteducation/gpio)[ Packagist](https://packagist.org/packages/ioteducation/gpio)[ Docs](https://gpio.ioteducation.com.br)[ RSS](/packages/ioteducation-gpio/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (4)Used By (0)

GPIO
====

[](#gpio)

Biblioteca PHP para controle das portas GPIO do Raspberry 3

Requisitos
----------

[](#requisitos)

- PHP &gt;= 7.2.\*

Ambiente
--------

[](#ambiente)

Testado no raspbian 9 com PHP 7.2

Instalação
----------

[](#instalação)

Instale diretamente no terminal de comando com composer:

```
composer require ioteducation/gpio
```

ou adicione em seu arquivo `composer.json`:

```
"require": {
    "ioteducation/gpio": "^0.1.0"
},
```

e no terminal:

```
composer update
```

Exemplos
--------

[](#exemplos)

### Atuadores

[](#atuadores)

```
use I9IoT\GPIO\Device\Device;
use I9IoT\GPIO\Pin\PinMode;
use I9IoT\GPIO\Pin\PinState;

$device = new Device();
$device->newPin(26, PinMode::OUTPUT);

// Equivalente ao digitalWrite(26,HIGH) do arduino
$device->actions->digitalWrite(26, PinState::HIGH);

// Equivalente ao digitalWrite(26,LOW) do arduino
$device->actions->digitalWrite(26, PinState::LOW);

// Equivalente ao digitalRead(26) do arduino
echo $device->actions->digitalRead(26);
```

Em breve
--------

[](#em-breve)

- Sensores
- Interrupções
- PWM
- Funções alternativas para `newPin`:
    - `newOutput`
    - `newInput`
    - `newPWM`
    - `newInterrupt`
    - Entre outras

Desenvolvimento
---------------

[](#desenvolvimento)

Esse projeto é uma parceria da IoT Education com a I9 IoT.

### IoT Education

[](#iot-education)

- **Cidade:** Indaiatuba - SP
- **Ramo:** Consultoria e Treinamento IoT

### I9 IoT (Startup)

[](#i9-iot-startup)

- **Cidade:** Indaiatuba - SP
- **Ramo:** Consultoria e Desenvolvimento de sistemas IoT

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

2611d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ac91d489bf2f27318d8b3f6303b6e944eb42cf6a48956c0e4fceb69ee637daa?d=identicon)[ioteducation](/maintainers/ioteducation)

---

Top Contributors

[![feeh27](https://avatars.githubusercontent.com/u/13547485?v=4)](https://github.com/feeh27 "feeh27 (4 commits)")[![ioteducation](https://avatars.githubusercontent.com/u/38166215?v=4)](https://github.com/ioteducation "ioteducation (1 commits)")

---

Tags

iotpinGPIOraspberrypinspiwiringPiwiring pi

### Embed Badge

![Health badge](/badges/ioteducation-gpio/health.svg)

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

###  Alternatives

[piphp/gpio

A library for accessing the GPIO pins on a Raspberry Pi

4325.9k2](/packages/piphp-gpio)[ronanguilloux/php-gpio

GPIO-related utils &amp; toolkit PHP library

2678.0k](/packages/ronanguilloux-php-gpio)[lkallas/estonianpin

A simple library for processing Estonian Personal Identification Code (isikukood).

1615.7k](/packages/lkallas-estonianpin)

PHPackages © 2026

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