Has anybody used Spatial types with yii2 and Mysql?

I wonder if anybody has tried Spatial types with yii2 and Mysql 8+. I saw that there are 2 extensions: sjaakp/yii2-spatial and another one that seems to be kind of the same. They both don’t use ST_* functions for instance to calculate distances, but instead perform calculations using the Haversine’s formula.
I’d like to take advantage of the ST_Distance for instance and I could try ‘retrofitting’ it into one of these extensions, but I’m not sure I’d do a good job. So if somebody has more experience and wants to share, I’m all ears :grinning: