1.0.4 • Published 5 years ago

adonis-nexmo v1.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

adonis-nexmo

Nexmo provider for AdonisJS

Install

adonis install adonis-nexmo

You need to add the provider to AdonisJS at start/app.js:

const providers = [
   ...
   'adonis-nexmo/providers/Nexmo'
];

And in your .env file

NEXMO_KEY=
NEXMO_SECRET=

then you can simply call it from within controllers etc:

const Nexmo = use('Nexmo')
1.0.4

5 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago