PHP code example of juju / message

1. Go to this page and download the library: Download juju/message library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

juju / message example snippets


(new Message())->show('标题','正文','跳转URL','时间','视图目录','视图文件名称');
(new Message())->show('权限错误','用户身份验证失败,请重新登陆','/user/login.html',3,'site','message.php');
视图目录默认site
视图文件名称默认message.php