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 Loading

  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
  • ext-spi Public

    Embedded PHP: SPI Extension

    embedded-php/ext-spi’s past year of commit activity
    C 2 1 1 1 Updated Sep 5, 2023
  • ext-i2c Public

    Embedded PHP: I2C Extension

    embedded-php/ext-i2c’s past year of commit activity
    C 1 1 1 1 Updated Sep 5, 2023
  • ext-gpio Public

    Embedded PHP: GPIO Extension

    embedded-php/ext-gpio’s past year of commit activity
    C 2 1 0 1 Updated Sep 4, 2023
  • ext-uart Public

    Embedded PHP: UART Extension

    embedded-php/ext-uart’s past year of commit activity
    C 2 1 0 1 Updated Sep 4, 2023
  • sensors Public

    Embedded PHP: Sensors Library

    embedded-php/sensors’s past year of commit activity
    PHP 1 MIT 2 0 2 Updated Apr 19, 2023
  • display Public

    Embedded PHP: Display Library

    embedded-php/display’s past year of commit activity
    PHP 1 MIT 2 0 2 Updated Apr 19, 2023
  • core Public

    Embedded PHP: GPIO and Protocols

    embedded-php/core’s past year of commit activity
    PHP 3 MIT 2 0 2 Updated Apr 19, 2023
  • examples Public

    Embedded PHP: Code Examples

    embedded-php/examples’s past year of commit activity
    PHP 2 MIT 1 0 5 Updated Mar 10, 2023
  • .github Public

    GitHub organization configuration

    embedded-php/.github’s past year of commit activity
    0 0 0 0 Updated Jan 28, 2022

Top languages

Loading…

Most used topics

Loading…