Parsoid in PHP, or There and Back Again

With apologies to Tolkien’s full title for //The Hobbit//