onoff
PHP-GPIO
Our great sponsors
onoff | PHP-GPIO | |
---|---|---|
1 | 1 | |
1,222 | 270 | |
- | - | |
1.8 | 0.0 | |
over 2 years ago | over 4 years ago | |
JavaScript | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
onoff
-
Stackoverflow in a nutshell
I do that quite a bit but in NodeJS with e.g https://www.npmjs.com/package/onoff
PHP-GPIO
-
Stackoverflow in a nutshell
For PHP I'd use https://github.com/ronanguilloux/php-gpio and if you truly want to make it safer on security use a JSON Web Token https://en.wikipedia.org/wiki/JSON_Web_Token but honestly if it's a DIY solution on your LAN, no DMZ, I wouldn't even bother. At least I wouldn't start with that. If it works and you keep it running after weeks then yes, improve it including with security constraints.
What are some alternatives?
pigpio - Fast GPIO, PWM, servo control, state change notification and interrupt handling with Node.js on the Raspberry Pi
Whoops - PHP errors for cool kids
node-rpio - Raspberry Pi GPIO library for node.js
Nmap - nmap is a PHP wrapper for Nmap.
johnny-five - JavaScript Robotics and IoT programming framework, developed at Bocoup.
Embera - A Oembed consumer library, that gives you information about urls. It helps you replace urls to youtube or vimeo for example, with their html embed code. It has advanced features like offline support, responsive embeds and caching support.
i2c-bus - I2C serial bus access with Node.js
html2text - A PHP component to convert HTML into a plain text format
spi-device - SPI serial bus access with Node.js
Spork - Experimental library for forking PHP
pigpio - pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
Essence - Extracts information about web pages, like youtube videos, twitter statuses or blog articles.