Brining PHP library more in line with Node library