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
Requires
- nexmo/client: @beta
- symfony/framework-bundle: ~3.0
This package is auto-updated.
Last update: 2024-11-10 21:33:09 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.