承接 irfa/php-flash-message 相关项目开发

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

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

irfa/php-flash-message

Composer 安装命令:

composer require irfa/php-flash-message

包简介

"Flash Message for PHP"

README 文档

README

Configuration File Irfa/Flashmsg/config.php

Basic Usage

 <?php 
  require_once 'Autoloader.php';
  use Irfa\Flashmsg\Flash;
  ...

Set Flash Message

You are free to set this message type, change css class or message view in config file.

Flash::set(key , message, type);

    ...
    ///SET FLASH Fail
      Flash::set('fail-msg' , 'Description is required','fail');
      ///SET FLASH Success
      Flash::set('success-msg' , 'Update Success','success'); 
      ///SET FLASH Info
      Flash::set('info-msg' , 'Please wait 1 minutes','success');
      ///SET FLASH Warning
      Flash::set('warning-msg' , 'Username or Password Invalid','warning');
      ///SET FLASH general
      Flash::set('general-msg' , 'Hello, i'm Message','general');
      ///SET FLASH Other
      Flash::set('other-msg' , 'Just Other Message','other');
      ...

Get Flash Message

Flash::get(key);

 ...
 ///GET FLASH MESSAGE
  Flash::get('msg');
 ...

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-02-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固