black-lamp/yii2-newsletter

Module for subscribe on newsletter


Keywords
newsletter, delivery, subscribe, yii2, black-lamp, php, yii-extension
License
QPL-1.0

Documentation

Newsletter module for Yii2

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

Latest Stable Version Latest Unstable Version License

Installation

Run command

composer require black-lamp/yii2-newsletter

or add

"black-lamp/yii2-newsletter": "2.*.*"

to the require section of your composer.json.

Applying migrations

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

Add modules to application config

Frontend module for subscriptions

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

Backend module for control of list of the clients

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