Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.08 KB

03_get_started.md

File metadata and controls

41 lines (28 loc) · 1.08 KB

Get started with datagrid component

Installation

Datagrid component uses composer and can be found on packagist.

As there is no tagged vbersion for now, you have to use dev-master version constraint.

$ ./composer.phar require jfsimon/datagrid:dev-master

If you want to contribute or run the unit tests, you'll have to install dev dependencies.

Run the tests

Tests need dev dependencies to be installed.

Datagrid component uses PHPUnit. To run the tests, simply call phpunit from the root component directory:

$ phpunit

Or from your project root directory:

$ phpunit -c vendor/jfsimon/datagrid

About renderers

For now, there is only one renderer based on Twig templating engine. If you use another templating system, please tell me, I'll implement a renderer based on it.