承接 aceer/message 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

aceer/message

最新稳定版本:v1.0

Composer 安装命令:

composer require aceer/message

包简介

PHP classes to send a message, can be used in Anax MVC

README 文档

README

Build Status Build Status Build Status

This is a class to show messages with PHP and Javascript. Use it with ANAX MVC.

You can choose how long you what the message to show or if the message will stay all the time.

=========== User guide:

Just download the class and include it in the php autoloader. After that create a new object of the class, ex:

$message = new /Aceer/Message/CMessage();

Then choose what kind of message you want to send (success,danger,warning,info).

$message->success("You have successfully logged in!");

You can also supply how long the message will display before it disappear and if value is inputed the message will not disappear.

$message->success("You have successfully logged in!",3000);
// 3000 = 3 seconds

There are 4 type of messages to send:

- danger
	CSS class = 'alert alert-danger';
- success 
	CSS class = 'alert alert-success';
- info 
	CSS class = 'alert alert-info';
- warning 
	CSS class = 'alert alert-warning';

Thay use Twitter Bootstrap css standard but if you want you can make your own default css class values:

$message = new /Aceer/Message/CMessage(
	[
		"success" => "some css class",
		"danger" => "some css class",
		"warning" => "some css class",
		"info" => "some css class",
	]);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固