phpackage / textobit
TextoBit API SDK
Installs: 8 784
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 1
Requires
- rmccue/requests: ^1.7
Requires (Dev)
- phpunit/phpunit: ^8
This package is auto-updated.
Last update: 2024-11-23 06:10:23 UTC
README
Installation
composer require phpackage/textobit
Quickstart
Send and SMS
<?php require_once __DIR__ . '/vendor/autoload.php'; $token = 'ThisIsNotAValidToken'; $massMessage = \Phpackage\TextoBit\Api\MassMessage::fromToken($token); $addr = '573216549870'; $cont = 'Lorem ipsum dolor sit amet.'; $massMessage->addRawMessage($addr, $cont); $response = $massMessage->send();
Prerequisites
- PHP >= 5.2
- The PHP JSON extension