Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcw/nexmobundle
A simple Symfony bundle to integrate the Nexmo PHP client
https://github.com/marcw/nexmobundle
Last synced: about 1 month ago
JSON representation
A simple Symfony bundle to integrate the Nexmo PHP client
- Host: GitHub
- URL: https://github.com/marcw/nexmobundle
- Owner: marcw
- License: mit
- Created: 2017-03-15T10:34:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-15T14:21:34.000Z (almost 8 years ago)
- Last Synced: 2024-11-11T06:45:36.307Z (3 months ago)
- Language: PHP
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nexmo Bundle
A simple bundle integration the [Nexmo PHP client library](https://github.com/Nexmo/nexmo-php/).
## Installation
`composer require marcw/nexmo-bundle`
Add in your `AppKernel.php` file:
`new MarcW\Bundle\NexmoBundle\MarcWNexmoBundle(),`
## Configuration
Add in your `config.yml` file:
```yaml
marc_w_nexmo:
api_key:
api_secret:
```## Usage
Access the Nexmo client as a service this way:
```php
$client = $container->get('marcw.nexmo.client');
```## Contributions
Yes, please.
## License
This software is licensed under the MIT license.