An abstraction layer for compass written in PHP