Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.