added getDeals in php example