<?php $basic = new \Nexmo\Client\Credentials\Basic(NEXMO_API_KEY, NEXMO_API_SECRET); $client = new \Nexmo\Client($basic);