Queue handler for PHP.