As per the wiki page of WantedPorts I have ported this software. phpdaemon is an asynchronous server-side framework for network applications implemented in PHP using libevent. The patch can be found at the phabricator here: https://reviews.freebsd.org/D25742
Thank you Miguel!
Am closing this as the upstream has last released a version in 2013 and looks like more of abandoned. I am more than sure this will not work with php81 and later.