This component is part of the Psi Content Management Framework
The grid component provides flexible data grids for objects based on class metadata.
$gridFactory = GridFactoryBuilder::createWithDefaults(new OrmAgent($entityManager))
->addAnnotationDriver()
->createGridFactory();
$grid = $gridFactory->createGrid(MyEntity::class, []);
$view = $grid->createView();
See the documentation at readthedocs.
Require in composer.json
:
$ composer require 'psiphp/grid'
All contributions are welcome, go ahead and make a PR!