jcabanillas/yii2-newsletter

Module for subscribe on newsletter

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

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

This package is not auto-updated.

Last update: 2024-04-14 00:23:06 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()
     ],
]