black-lamp / yii2-newsletter
Module for subscribe on newsletter
Package info
github.com/black-lamp/yii2-newsletter
Type:yii2-extension
pkg:composer/black-lamp/yii2-newsletter
2.0.2
2016-11-24 11:45 UTC
Requires
- yiisoft/yii2: >=2.0.4
- yiisoft/yii2-bootstrap: *
This package is not auto-updated.
Last update: 2026-03-01 03:32:14 UTC
README
Module for subscribe on newsletter by e-mail or phone number
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() ], ]