1.0.4 • Published 6 years ago

adonis-nexmo v1.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
6 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

6 years ago

1.0.3

7 years ago

1.0.1

7 years ago

1.0.0

8 years ago