feat: how to set data attr in php