Skip to content
@embedded-php

Embedded PHP

Libraries and extensions for handling hardware in PHP on Linux-based single-board computers

Embedded PHP

This is an effort to get PHP to interact with sensors and displays in Linux-based Single-board computers, through general-purpose input/output pins, SPI/I2C/UART protocols etc.

Libraries

Display

Interface with LCD and OLED matrix displays. More details.

Sensors

Interface with different types of sensors. More details.

Extensions

GPIO

Interact with the general-purpose input/output pins. More details.

Main usage:

  • Buttons
  • Switches
  • Lights

I2C

Interact with external hardware using the I2C protocol. More details.

Main usage:

  • Accelerometers
  • Gyroscopes
  • Compasses

SPI

Interact with external hardware using the SPI protocol. More details.

Main usage:

  • Analog-to-digital
  • Small displays

UART

Interact with external hardware using the UART asynchronous serial communication protocol. More details.

Main usage:

  • GPS Receivers
  • Cellular modems

Pinned

  1. display display Public

    Embedded PHP: Display Library

    PHP 1 2

  2. sensors sensors Public

    Embedded PHP: Sensors Library

    PHP 1 2

  3. examples examples Public

    Embedded PHP: Code Examples

    PHP 2 1

Repositories

Showing 9 of 9 repositories

Top languages

Loading…

Most used topics

Loading…