marcw / nexmo-bundle
A simple Symfony integration for Nexmo PHP client
dev-master
2017-03-15 14:21 UTC
Requires
- nexmo/client: @beta
- symfony/framework-bundle: ~3.0
This package is auto-updated.
Last update: 2026-02-11 00:05: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.