PHPackages                             onema/nexmo-cli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. onema/nexmo-cli

AbandonedArchivedLibrary[CLI &amp; Console](/categories/cli)

onema/nexmo-cli
===============

Send SMS and Voice messages from the command line using the Nexmo API

v1.0.0(11y ago)0231[1 issues](https://github.com/onema/nexmo-cli/issues)MITPHPPHP &gt;=5.4

Since May 22Pushed 11y ago1 watchersCompare

[ Source](https://github.com/onema/nexmo-cli)[ Packagist](https://packagist.org/packages/onema/nexmo-cli)[ Docs](http://onema.io)[ RSS](/packages/onema-nexmo-cli/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

nexmo-cli
=========

[](#nexmo-cli)

Send SMS and Voice messages from the command line using the Nexmo API

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

[](#installation)

```
php composer.phar require onema/nexmo-cli:1.0.*@dev
```

Configuration
-------------

[](#configuration)

From the project root create a the following file `app/config/parameters.yml`

```
#app/config/parameters.yml
parameters:
    nexmo:
        api_key: APIKey
        api_secret: APISecret
        account_from_number: AccountPhoneNumber
```

Use
---

[](#use)

Create a `console` file in the location of your choice. I will create it in the app directory

```
#!/usr/bin/env php
