2017 © Pedro Peláez
 

library mgrid

Grid for PHP 5.3

image

mdn/mgrid

Grid for PHP 5.3

  • Monday, August 19, 2013
  • by mdn
  • Repository
  • 5 Watchers
  • 0 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 2 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Mgrid - Grid solution for PHP 5

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., (*1)

Thanks, Renato Medina., (*2)

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:, (*3)

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

then run the php composer.phar install command to install it. At this stage everything should go smooth., (*4)

1.2. Download

Alternatively, you can download the mgrid.zip file and extract it., (*5)

2. The Assets

Into the package you can find the assets:, (*6)

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

Here you have 2 options:, (*7)

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., (*8)

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., (*9)

Keen to help? Join the github project., (*10)

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., (*11)

Docs

Go to http://mgrid.mdnsolutions.com/documentation for more detailed documentation., (*12)

About

Available on the component website., (*13)

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, (*14)

Author

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

License

Mgrid is released under the LGPL license. - see the LICENSE page for details, (*16)

The Versions

19/08 2013

dev-master

9999999-dev http://github.com/medinadato/mgrid

Grid for PHP 5.3

  Sources   Download

MIT

The Requires

 

grid

15/08 2013

2.0.2.x-dev

2.0.2.9999999-dev http://github.com/medinadato/mgrid

Grid for PHP 5.3

  Sources   Download

MIT

The Requires

 

grid

11/08 2013

2.0.1.x-dev

2.0.1.9999999-dev http://github.com/medinadato/mgrid

Grid for PHP 5.3

  Sources   Download

MIT

The Requires

 

grid

08/08 2013

2.0.0.x-dev

2.0.0.9999999-dev http://github.com/medinadato/mgrid

Grid for PHP 5.3

  Sources   Download

MIT

The Requires

 

grid

31/07 2013

1.0.0.x-dev

1.0.0.9999999-dev http://github.com/medinadato/mgrid

Grid for PHP 5.3

  Sources   Download

MIT

The Requires

  • php >=5.0.0

 

grid

20/07 2013

0.0.1

0.0.1.0 http://github.com/medinadato/mgrid

Grid for PHP 5.3

  Sources   Download

MIT

The Requires

  • php >=5.0.0

 

grid