PHPackages                             fillup/nexmo - 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. fillup/nexmo

ActiveLibrary[API Development](/categories/api)

fillup/nexmo
============

Nexmo API client built with Guzzle Web Service descriptions

2.0(9y ago)2664.7k11[1 issues](https://github.com/fillup/nexmo/issues)1MITPHP

Since Mar 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/fillup/nexmo)[ Packagist](https://packagist.org/packages/fillup/nexmo)[ RSS](/packages/fillup-nexmo/feed)WikiDiscussions develop Synced today

READMEChangelogDependencies (1)Versions (8)Used By (1)

nexmo
=====

[](#nexmo)

PHP client to interact with Nexmo APIs

This library was developed as part of a tutorial, you can go through the tutorial starting at:

[Creating a PHP Nexmo API Client using Guzzle Web Service Client – Part 1](http://www.phillipshipley.com/2015/04/creating-a-php-nexmo-api-client-using-guzzle-web-service-client-part-1/)

This library now covers all RESTful outbound APIs from Nexmo, so whether you're interested in the tutorial or not you're welcome to use the library for integration with Nexmo.

Install
-------

[](#install)

Installation is easy with composer. Just add `"fillup/nexmo": "dev-master"`to your composer.json require section and update.

Usage / Example
---------------

[](#usage--example)

All classes are in the `Nexmo\` namespce:

```
use Nexmo\Developer;
use Nexmo\Insight;
use Nexmo\Sms;
use Nexmo\Verify;
use Nexmo\Voice;

/**
 * Load config, expecting an array with:
 * api_key, api_secret, to, from, text
 */
$config = include __DIR__.'/../../config-local.php';

/**
 * Get an SMS client object
 */
$sms = new Sms($config);

/**
 * Send a message
 */
$results = $sms->send([
    'from' => $config['from'],
    'to' => $config['to'],
    'text' => $config['text'],
]);

/**
 * Dump out results
 */
print_r($results);
// Array
// (
//    [statusCode] => 200
//    [message-count] => 1
//    [messages] => Array
// (
//    [0] => Array
//    (
//        [to] => 14085559876
//                    [message-id] => 0300000071BCAA3C
//                    [status] => 0
//                    [remaining-balance] => 15.23280000
//                    [message-price] => 0.00480000
//                    [network] => US-VOIP
//                )
//
//        )
//
// )
```

All API calls require an `api_key` and `api_secret`. Best practice would be to keep this out of your code an in some sort of configuration file or environment variable that does not go into your source code. Just pass an array with keys for `api_key` and `api_secret` to the constructor of each class like in the example above.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 71% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~79 days

Recently: every ~93 days

Total

6

Last Release

3354d ago

Major Versions

1.0.4 → 2.02017-04-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/a5e188393958c4505bb06d9e79ed99a47d1cd42551142f02ef364d8268449ef8?d=identicon)[fillup](/maintainers/fillup)

---

Top Contributors

[![fillup](https://avatars.githubusercontent.com/u/556105?v=4)](https://github.com/fillup "fillup (22 commits)")[![tjlytle](https://avatars.githubusercontent.com/u/125074?v=4)](https://github.com/tjlytle "tjlytle (4 commits)")[![wujekbogdan](https://avatars.githubusercontent.com/u/533954?v=4)](https://github.com/wujekbogdan "wujekbogdan (4 commits)")[![abelzx](https://avatars.githubusercontent.com/u/15117787?v=4)](https://github.com/abelzx "abelzx (1 commits)")

### Embed Badge

![Health badge](/badges/fillup-nexmo/health.svg)

```
[![Health](https://phpackages.com/badges/fillup-nexmo/health.svg)](https://phpackages.com/packages/fillup-nexmo)
```

###  Alternatives

[restcord/restcord

REST Library for the Discord API

180477.7k11](/packages/restcord-restcord)[zfr/zfr-shopify

PHP library for interacting with the Shopify REST API

37239.8k](/packages/zfr-zfr-shopify)[rarst/wporg-client

Guzzle client for WordPress.org APIs

721.8k](/packages/rarst-wporg-client)[apidae-tourisme/apidae-php

Apidae API official PHP Client

373.8k](/packages/apidae-tourisme-apidae-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
