webowy/zend-view-sweetalert

Repository with ZF's ViewModel in sweet alert format.

v0.1.2 2017-01-11 13:12 UTC

This package is not auto-updated.

Last update: 2020-09-18 21:17:34 UTC


README

Build Status Latest Stable Version Total Downloads License

Repository with ZF's ViewModel in sweet alert format.

Installation

Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.

composer require webowy/zend-view-sweetalert

That's all ;-)

Usage

<?php
use Webowy\View\Model\SweetAlertModel;

// In Your controller
return new SweetAlertModel('type', 'title', 'message', 'redirectionUrl', 'timeout');