black-lamp/yii2-newsletter

Module for subscribe on newsletter

Installs: 288

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Open Issues: 2

Type:yii2-extension

2.0.2 2016-11-24 11:45 UTC

This package is not auto-updated.

Last update: 2024-11-09 20:45:15 UTC


README

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

Build Status 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()
     ],
]