lova/flashingmessage 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lova/flashingmessage

Composer 安装命令:

composer require lova/flashingmessage

包简介

Flash class using sessions

README 文档

README

How to use

1.Download

The easiest way is to install the module using composer. Add to your composer.json:

"require": {
"lova/flashingmessage": "dev-master"
},

And then run composer install.

You can also download the zip file from here.

2.Include it in your project.

To include flashingmessage in your project add the class in your frontcontroller:

$di->setShared('flash', function() { 
$flash = new \lova\flashingmessage\flashingmessage(); 
return $flash; 
});

Here's an example of how to use add a message:

$app->flash->message('success', 'This message tells you your action was succesful'); 

License

This software is free software and carries a MIT license.

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-03