webowy / zend-view-sweetalert
Repository with ZF's ViewModel in sweet alert format.
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Installs: 101
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/webowy/zend-view-sweetalert
Requires
- php: ^5.5 || ^7.0
- zendframework/zend-view: 2.8.* || 3.*
Requires (Dev)
- phpunit/phpunit: 5.*
This package is not auto-updated.
Last update: 2020-09-18 21:17:34 UTC
README
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');