Skip to content

nexmo-community/bakery-messaging-with-dispatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bakery Messaging Demo Application

This is a very simple Slim PHP application to showcase using the Nexmo Messages API to send messages to customers of an imaginary Cupcake Bakery business. If the message isn't delivered, the Nexmo Dispatch API can be used to fall back to an alternative messaging channel.

Try This Project Yourself

  1. You will need a Nexmo account and the Nexmo CLI tool tool installed.
  2. Clone this repository
  3. Run composer install to get the dependencies
  4. Copy config.php.sample to config.php and add the settings there as required - the comments direct you to creating the JWT you will need for access
  5. Run php -S localhost:8080 in the public/ directory

The sample project should now be available at http://localhost:8080.