This code base started from my project to control some LimitlessLED Smart-Lights bulbs through a web interface hosted on a Raspberrypi.
Over time my project expanded to include also some Orvibo S20 smart sockets for which I couldn't find any existing PHP API so wrote this one using the reverse engineered data available from various sources, particularly the Ninja Blocks Java API.
Please feel free to include this code in your own projects and further develop and expand to support more of the features of the Orvibo smart sockets if you like.
$o = new Orvibo('AC:CF:23:9C:A0:D0', '192.168.241.252', 10000);
$o->on();
$o->status('192.168.241.100');