New version 0.9 has been released! Jun 16, 2015

Subscribe module


Subscribe module helps you to create subscribe form on frontend.


use yii\easyii\modules\subscribe\api\Subscribe;

Public functions

array Subscribe::form( $options = [] )
$options array
  • successUrl (string) - redirect url on success.
  • errorUrl (string) - redirect url on error.
Returns fully worked standalone html form.

array Subscribe::save( $email )
If you using your own form, this function will be useful for manual saving subscribers.
$email string Subscriber E-mail
Returns Result array.