Small typo :
[code]$queue->useTube('mytube')->put(json_encode($data));[/code]
should say
[code]$queue->useTube('mytube')->put(json_encode($job));[/code]
i believe.