quiubas / quiubas-php
Quiubas PHP Library for REST API
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 6 306
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 5
Open Issues: 3
Requires
- php: >=5.3.3
- ext-curl: *
- ext-openssl: *
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2023-07-26 13:22:27 UTC
README
Requirements
- PHP 5.3+
openssl
extensioncurl
extension
Current version 1.3.2
Installation
Install quiubas-php by downloading the source.
Download the latest release. Then, to use the library, include the quiubas.php
file.
require_once '/path/to/quiubas-php/Quiubas.php';
Quickstart
Send an SMS
<?php // Install the library by downloading the .zip file to your project folder. // Load the library require_once '/path/to/quiubas-php/Quiubas.php'; \Quiubas\Quiubas::setAuth( 'api_key', 'api_private' ); $response = \Quiubas\Sms::send(array( 'to_number' => '+52552512421', 'message' => 'Hello there', )); echo $response['id'];