jcabanillas/yii2-newsletter

Module for subscribe on newsletter

Installs: 20

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2017-06-01 00:17 UTC

README

Module for subscribe on newsletter by e-mail or phone number

Latest Stable Version Latest Unstable Version License

Installation

Run command

composer require jcabanillas/yii2-newsletter

or add

"jcabanillas/yii2-newsletter": "2.*.*"

to the require section of your composer.json.

Applying migrations

yii migrate --migrationPath=@vendor/jcabanillas/yii2-newsletter/common/migrations

Add modules to application config

Frontend module for subscriptions

'modules' => [
     // ...
     'newsletter' => [
         'class' => jcabanillas\newsletter\frontend\Newsletter::className()
     ],
]

Backend module for control of list of the clients

'modules' => [
     // ...
     'newsletter' => [
         'class' => jcabanillas\newsletter\backend\Newsletter::className()
     ],
]