Download the PHP package vonage/symfony without Composer
On this page you can find all versions of the php package vonage/symfony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vonage/symfony
More information about vonage/symfony
Files in vonage/symfony
Package symfony
Short Description Provides config and dependency injection for the Vonage Client in Symfony applications
License Apache-2.0
Informations about the package symfony
Vonage Client Bundle for Symfony
This is the Vonage API PHP client bundle for use with the Symfony Framework. To use this, you'll need a Vonage account. Sign up for free at nexmo.com.
This bundle is currently in development/beta status, so there may be bugs
- Installation
- Usage
- Contributing
Installation
Applications that use Symfony Flex
Applications that don't use Symfony Flex
Step 1: Download the bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
Step 2: Enable the bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
Configuration
You can configure the bundle with your application details by creating a YAML
file with your credentials. The easiest way is to dump the config and copy
it to configs/packages/vonage_client.yaml
.
You can then fill in the needed credentials from your Vonage Dashboard.
Usage
This bundle takes care of all the client creation needed for making the Vonage client, and adds it to the service container. All you need to do is add your credentials and any other info like Vonage Application ID to your config. You can pull the class from the service container or use it as part of the autowiring system.