Download the PHP package mdn/mgrid without Composer

On this page you can find all versions of the php package mdn/mgrid. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mgrid

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.

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

Submitting bugs and feature requests

Bugs and feature request are tracked on GitHub

Author

Renato Medina - 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


All versions of mgrid with dependencies

PHP Build Version
Package Version
Requires php Version >=5.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mdn/mgrid contains the following files

Loading the files please wait ....