Port of unio node.js package in PHP.