Mettl API for PHP