REFACTOR: change name to phplib