I wrote a PHP extension implementing the custom Cityhash algorithm found on Clickhouse DBMS (needed that for some work-related projects, then published here).

Check the Github repo for more info, source code and links.