Download the PHP package newclass/mensam without Composer
On this page you can find all versions of the php package newclass/mensam. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package mensam
README
What is Mensam?
Mensam is a PHP Grid manager. Support for:
- multiple templates like Bootstrap 3.
- sortable columns.
- multiple data storage.
-
pagination. s Installation
The best way to install is to use the composer by command:
composer require newclass/mensam
composer install
Use example
use Mensam\Column;
use Mensam\Formatter\Bootstrap3Formatter;
use Mensam\GridBuilder;
use Mensam\GridDataManager;
use Mensam\Request;
$grid = new GridBuilder();
$request='...';//set object implements interface Mensam\Request
$dataManager='...';//set object implements interface Mensam\GridDataManager
$grid->setRequest($request);
$grid->addColumn(new Column('id', 'Id'));
$grid->addColumn(new Column([
'name',
'subName'
], 'Name'));
$grid->addColumn(new Column([
'subName'
], 'Sub name'));
$grid->addColumn(new Column([
'id'
], 'No sort',null,[]));
$grid->setDataManager($dataManager);
$grid->setFormatter(new Bootstrap3Formatter());
echo $grid->render(); //return html template
All versions of mensam with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.0
The package newclass/mensam contains the following files
Loading the files please wait ....