Hello. It's my first project, don't be so angry.
This project lets switch on/off lamp or relay, or everything. On my web host I've developed Web Socket Server (on RatchetPHP) to make async api calls. Also I've made the "face" part (frontend) on Yii2 Framework. On Arduino I used aREST library to provide api.
Hardware components: Arduino UNO ENC28J60 Ethernet module mini Relay 5V 10A Old USSR Button
How it works: https://www.youtube.com/watch?v=j4oDfyOv4pI Web Sources: https://github.com/CyanoFresh/home Sketch: https://drive.google.com/file/d/0B4yKmWCu7y2Tei1UUVB1Z2VScVU/view