1.0.4 • Published 5 years ago

adonis-pusher v1.0.4

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

adonis-pusher

Pusher provider for AdonisJS

Install

adonis install adonis-pusher

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

const providers = [
   ...
   'adonis-pusher/providers/Pusher'
];

And in your .env file

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_SECRET_KEY=

then you can simply call it from within controllers etc:

const Pusher = use('Pusher');
1.0.4

5 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago