PHP port of Kue (Node.js)