PHP library based on Yaf framework