composer require carica/firmata
(and a wired connection to the Arduino)
brew install php@5.6 git clone https://github.com/oasynnoum/phpmake_serialport.git phpize ./configure --enable-Gorilla make make install
twitter.com/assertchris
youtu.be/-wcHSR4yntg
By Christopher Pitt
Writer and coder, working at ringier.co.za