定制 mdn/mgrid 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

mdn/mgrid

Composer 安装命令:

composer require mdn/mgrid

包简介

Grid for PHP 5.3

关键字:

README 文档

README

Mgrid version 2.x generates an optimal grid for your application. This version has great improvements in regardless to renders, dependencies, and other features. Please take a look at the changelog.

Thanks, Renato Medina.

Instalation

1. The library

1.1. Composer

The recommended way to install Mgrid is through composer. Just create a composer.json file into the root of your project and add the following lines:

{
    "require": {
        "mdn/mgrid": "dev-master"
    }
}

then run the php composer.phar install command to install it. At this stage everything should go smooth.

1.2. Download

Alternatively, you can download the mgrid.zip file and extract it.

2. The Assets

Into the package you can find the assets:

YOUR_FOLDER_VENDOR/mdn/lib/Mgrid/templates/default/mgrid-assets

Here you have 2 options:

1. Just move the folder to the root of your application, making it accessible 
   by your url (e.g. http://www.yourdomain.com/mgrid-assets)

2. Just create a symlink.

PHP and Frameworks Compatibility

It can either be used with flat PHP or any Framework out there. Here I've tried to follow the PSR standards. Making this component as portable as possible.

Mgrid uses Twig Template Engine to render its html. If you not familiar with Twig, you can take a look here. Although, it's not necessary to know how Twig works to use Mgrid.

Keen to help? Join the github project.

Core Concepts

This grid should be able to display data sources from simple PHP arrays. The output is in HTML. Filters, sorting, pagination are also available.

Docs

Go to http://mgrid.mdnsolutions.com/documentation for more detailed documentation.

##About

Available on the component website.

##Requirements

  • Any flavor of PHP 5.3 or above should do
  • Twig template engine 1.* version

##Submitting bugs and feature requests

Bugs and feature request are tracked on GitHub

##Author

Renato Medina - medinadato@gmail.com - http://twitter.com/medinadato
See also the list of contributors which participated in this project.

##License

Mgrid is released under the LGPL license. - see the LICENSE page for details

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-07-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固