marcw/nexmo-bundle

A simple Symfony integration for Nexmo PHP client

Installs: 124

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

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

This package is auto-updated.

Last update: 2024-04-10 20:21:46 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.