Drupal 9 and Vonage PHP SDK Demo
This is a skeleton application for demoing the Vonage Drupal module and Drupal 9. 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
Requirements
- PHP 7.3 or higher
- SQLite 3.26 or higher OR MySQL 5.7.8 or higher
To use this demo code, you need to:
$ git clone https://github.com/nexmo-community/vonage-php-sdk-drupal-9.git vonage-and-drupal
$ cd vonage-and-drupal
$ composer install
$ php -S localhost:3000 -t web
In your browser you can now visit http://localhost:3000
and begin the Drupal installation process.
Usage
This application serves as a way to see how to use the Vonage PHP SDK, Vonage Drupal Module, and Drupal 9 together to take advantage of the Vonage APIs. Once you have installed Drupal, you can go to the "Extend" page and enable both the "Vonage API SDK" and "Vonage Hello World" modules.
Configuration for Vonage can be found at http://localhost:3000/admin/config/vonage
.
Sample code for using Vonage in a custom module is located in web/modules/vonage_hello_world/
.
Contributing
This project is actively developed, and we love to hear from you! Please feel free to create an issue or open a pull request with your questions, comments, suggestions and feedback.