dept-of-scrapyard-robotics/scrapyard-io-framework

PHP library for Embedded Linux Devices

Installs: 0

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/dept-of-scrapyard-robotics/scrapyard-io-framework

0.1.3 2025-12-30 19:33 UTC

This package is not auto-updated.

Last update: 2025-12-31 18:03:31 UTC


README

ScrapyardIO is a PHP framework designed to interface with various IO protocols on the Linux platform. We believe that building a robotics platform should not be limited to being forced to learn Python, C or Rust at the gate. Adding PHP into the ecosystem to utilize embedded Linux platforms narrows the gap and creates a new jumping on point, to discover the rewarding joy and satisfaction of programming more than just websites and CLI commands, but also being able to drive real life electronic components to make your project come to life!

  • Simple, elegant Syntax
  • Modular concerns and classes to veer off and build your own implementations and custom devices
  • Drive devices with PHP and Linux - NeoPixels, Servos, System Fan, Sensors and Displays of all kinds!
  • All the hard programming parts are abstracted away, just instantiate a device driver with the pins, and of it goes.
  • Massively extensible and completely Framework agnostic, works with Laravel, Phalcon, Symphony and even Wordpress.
  • Only one dependency - Scrapyard's LinuxSystem Extension

Requirements

  • PHP 8.3 or greater
  • Zephir 19 or later
  • Scrapyard's LinuxSystem Extension
  • An embedded Linux device with IO ports like a RaspberryPI

Tested Devices

  • Raspberry Pi 4 and 4
  • Raspberry Pi Zero 2W
  • Jetson Orin Nano

To Be Tested

  • Arduino Uno Q
  • BananaPi
  • OrangePi
  • BigTreeTech Pi4B

Installation

After installing Zephir and the Scrapyard LinuxSystem extension, you can install the framework via composer:

composer require dept-of-scrapyard-robotics/scrapyard-io-framework

Libraries

ScrapyardIO comes bundled with 5 different Library Domains take can be used in any combinations you wish

  • Transports - GPIO, PWM, I2C and SPI -enabled integrations for communication
  • Actuation - System Fans, Servos and Motors typically controlled over PWM
  • Sensors - Unified Library supporting devices like Accelerometers, Distance Sensors and RFID Scanners
  • Displays - Unified library for controlling all kinds of displays from Monochrome to ePaper (and NeoPixels too!)
  • GFX - Completely device-agnostic 2D Graphics library for pushing pixels to displays or building abstract buffers.

Credits