PHPackages                             unicodeveloper/jusibe-php-lib - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. unicodeveloper/jusibe-php-lib

ActiveLibrary[API Development](/categories/api)

unicodeveloper/jusibe-php-lib
=============================

Jusibe PHP Library

1.0.4(5y ago)3417.4k7[1 issues](https://github.com/unicodeveloper/jusibe-php-lib/issues)1MITPHPPHP ^7.0|^7.1|^7.2CI failing

Since Apr 18Pushed 5y ago3 watchersCompare

[ Source](https://github.com/unicodeveloper/jusibe-php-lib)[ Packagist](https://packagist.org/packages/unicodeveloper/jusibe-php-lib)[ RSS](/packages/unicodeveloper-jusibe-php-lib/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (1)

jusibe-php-lib
==============

[](#jusibe-php-lib)

[![Latest Stable Version](https://camo.githubusercontent.com/bc6fd5f1b58f52005dce956a7762d38745fa56ad679ce0edc976cfe1b8b9f9ce/68747470733a2f2f706f7365722e707567782e6f72672f756e69636f646576656c6f7065722f6a75736962652d7068702d6c69622f762f737461626c652e737667)](https://packagist.org/packages/unicodeveloper/jusibe-php-lib)[![License](https://camo.githubusercontent.com/652a1b72e89884cb6a11e85b7270a6174d6acd0c4e3c3fa3985f57974d4236e3/68747470733a2f2f706f7365722e707567782e6f72672f756e69636f646576656c6f7065722f6a75736962652d7068702d6c69622f6c6963656e73652e737667)](LICENSE.md)[![](https://camo.githubusercontent.com/984f6792e3d81e34b782c12770dfd5e6153ea75f5e71d8e668933b988ba1a81f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f756e69636f646576656c6f7065722d617070726f7665642d627269676874677265656e2e737667)](https://camo.githubusercontent.com/984f6792e3d81e34b782c12770dfd5e6153ea75f5e71d8e668933b988ba1a81f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f756e69636f646576656c6f7065722d617070726f7665642d627269676874677265656e2e737667)[![Build Status](https://camo.githubusercontent.com/e98bf4d6307f97a3ef3707ef207802358a5c685b6801351fdb8608e0e69c7605/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f756e69636f646576656c6f7065722f6a75736962652d7068702d6c69622e737667)](https://travis-ci.org/unicodeveloper/jusibe-php-lib)[![Coveralls](https://camo.githubusercontent.com/0ed33b2b2542eef7f44434e1861b634755e0f39e0404f084f707d3ff3b86303f/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f756e69636f646576656c6f7065722f6a75736962652d7068702d6c69622f6d61737465722e737667)](https://coveralls.io/github/unicodeveloper/jusibe-php-lib?branch=master)[![Quality Score](https://camo.githubusercontent.com/99c8d2c206d0d3dbf2bbdb4778a5f22c53c42adca58a2ddfbd7e0da72cb72006/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f756e69636f646576656c6f7065722f6a75736962652d7068702d6c69622e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/unicodeveloper/jusibe-php-lib)[![Total Downloads](https://camo.githubusercontent.com/ed2c65d0ca2f96973310ef262db78493011476539380bc78d2d82e81aa1571f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f756e69636f646576656c6f7065722f6a75736962652d7068702d6c69622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/unicodeveloper/jusibe-php-lib)

> Jusibe Library for PHP

Installation
------------

[](#installation)

[PHP](https://php.net) 7.0+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required.

To get the latest version of jusibe-php-lib, simply add the following line to the require block of your `composer.json` file.

```
"unicodeveloper/jusibe-php-lib": "1.0.*"

```

You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.

Usage
-----

[](#usage)

Available methods for use are:

```
/**
 * Send SMS using the Jusibe API
 * @param  array $payload
 * @return object
 */
$jusibe->sendSMS($payload)->getResponse();

/**
 * Send Bulk SMS using the Jusibe API
 * @param  array $payload
 * @return object
 */
$jusibe->sendBulkSMS($payload)->getResponse();

/**
 * Check the available SMS credits left in your Jusibe account
 * @return object
 */
$jusibe->checkAvailableCredits()->getResponse();

/**
 * Check the delivery status of a sent SMS
 * @param  string $messageID
 * @return object
 */
$jusibe->checkDeliveryStatus('8nb1wrgdjw')->getResponse();

/**
 * Check the delivery status of a sent Bulk SMS
 * @param  string $bulkID
 * @return object
 */
$jusibe->checkBulkDeliveryStatus('8nb1wrgdjw')->getResponse();
```

### Send an SMS

[](#send-an-sms)

```
