PHP API framework