imt / data-grid-bundle
This bundle provides a simple integration of the IMTDataGrid library
Installs: 38
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- imt/data-grid: 0.9.*
- symfony/framework-bundle: >=2.0.9,<2.3-dev
This package is not auto-updated.
Last update: 2024-11-04 11:02:51 UTC
README
IMTDataGridBundle
Overview
This bundle provides a simple integration of the IMTDataGrid library into Symfony2. IMTDataGrid is a library that provides a simple, powerful and fully customizable tool for generating data-bound grids. This means that you can use such libraries as jqGrid in your Symfony2 application.
Installation
1. Using Composer (recommended)
To install IMTDataGridBundle
with Composer just add the following to
your composer.json
file:
{ "require": { "imt/data-grid-bundle": "0.9.*" } }
Then, you can install the new dependencies by running Composer's update command
from the directory where your composer.json
file is located:
$ php composer.phar update imt/data-grid-bundle
Now, Composer will automatically download all required files, and install them
for you. All that is left to do is to update your AppKernel.php
file, and
register the new bundle:
<?php // in AppKernel::registerBundles() $bundles = array( // ... new IMT\DataGridBundle\IMTDataGridBundle(), // ... );
Usage
The bundle provides a new imt_data_grid.manager
service that returns an
instance of IMT\DataGrid\Manager\ManagerInterface
. So the only thing to do is
to request the imt_data_grid.manager
service from the container to get an
instance of IMT\DataGrid\Manager\ManagerInterface
and start using the
IMTDataGrid library:
<?php // ... $dataGridManager = $container->get('imt_data_grid.manager'); // ...
Testing
$ make test
Contributing
Please see CONTRIBUTING for details.
Credits
License
This bundle is released under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE