morton PHP extension which implements z-order curve Requirements Haswell CPU with bmi2 flag PHP 7.2+ Building git clone https://github.com/Frago9876543210/morton.git cd morton phpize ./configure make && make test && sudo make install