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
Requires
- yiisoft/yii2: >=2.0.4
- yiisoft/yii2-bootstrap: *
This package is auto-updated.
Last update: 2025-02-08 06:13:14 UTC
README
Module for subscribe on newsletter by e-mail or phone number
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() ], ]