Backend for resyted, implemented in PHP