承接 myclabs/muih 相关项目开发

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

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

myclabs/muih

Composer 安装命令:

composer require myclabs/muih

包简介

PHP and Javascrcipt helpers for creation of Bootstrap 3 UI elements

README 文档

README

Build Status Coverage Status Latest Stable Version Total Downloads License

MUIH, for Myc-lab User Interface Helper, is a PHP and Javascript library containing helpers for creation of Bootstrap 3 UI elements.

It is aiming to provide plain php objects for html/js component and helper for Zend1, Zend2 and twig(to be implemented).

Usage:

$button = new Button('Some Label', 'info');
$button->display();

This will echo a simple html button. Alternatively, you can use render() to get the code.

$modal = new Modal('Some Content');

$modal->setHeaderContent('Some Title');
$modal->addAttribute('id', 'some_id');
$modal->getBody()->addClass('some-class');

$modal->display();

This will echo a modal #some_id element, with body having .some-class class.

echo $this->button('Show Modal')->showModal('some_id');

You can also use helper fer Zend1 and Zend2.

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-03-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固