marcw/nexmo-bundle

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

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: 2021-11-10 14:37:37 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.