marcw/nexmo-bundle

A simple Symfony integration for Nexmo PHP client

Installs: 121

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master 2017-03-15 14:21 UTC

README

A simple bundle integration the Nexmo PHP client library.

Installation

composer require marcw/nexmo-bundle

Add in your AppKernel.php file:

new MarcW\Bundle\NexmoBundle\MarcWNexmoBundle(),

Configuration

Add in your config.yml file:

marc_w_nexmo:
    api_key: <your nexmo api key>
    api_secret: <your nexmo api secret>

Usage

Access the Nexmo client as a service this way:

$client = $container->get('marcw.nexmo.client');

Contributions

Yes, please.

License

This software is licensed under the MIT license.