php component utilities