botjaeger/nexmo-bundle

Integrates vonage/client in symfony >= 4

Installs: 1 994

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 0

Forks: 0

Open Issues: 0

Type:symfony-bundle

0.7 2021-07-05 00:50 UTC

This package is auto-updated.

Last update: 2021-10-05 01:21:57 UTC


README

Symfony integration of the vonage/vonage-php-sdk-core client

Getting Started

Installing

Just require the bundle with composer

composer require botjaeger/vonage-bundle

Then add the following line to your app/AppKernel.php

public function registerBundles()
{
    return [
        ...,
        new Botjaeger\VonageBundle\BotjaegerVonageBundle(),
    ];
}

Configuration

Add the following lines to your config.yml

botjaeger_vonage:
    api_key: 'vonage_api_key'
    api_secret: 'vonage_api_secret'

Usage

$api = $this->get('vonage.client');
...

Test

Must have docker installed in your system

./test