PHP library around standarized codes