#!/usr/bin/env php <?php require __DIR__ . '/../vendor/autoload.php'; $config = (require __DIR__ . '/config.php'); $client = new Octopush\Api\Client($config['email'], $config['api_key']); $response = $client->getCredit(); var_dump($response);
#!/usr/bin/env php <?php require __DIR__ . '/../vendor/autoload.php'; $config = (require __DIR__ . '/config.php'); $client = new Octopush\Api\Client($config['email'], $config['api_key']); $client->setSmsRecipients($config['recipients']); $client->setSmsSender('AnySender'); $client->setWithReplies(); $response = $client->send('Octopush - Send SMS like a PRO.'); var_dump($response);