PHP adapter for Ark api