Download the PHP package rollerworks/datagrid without Composer
On this page you can find all versions of the php package rollerworks/datagrid. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rollerworks/datagrid
More information about rollerworks/datagrid
Files in rollerworks/datagrid
Package datagrid
Short Description Datagrid system with a modular design and customizable
License MIT
Informations about the package datagrid
RollerworksDatagrid
RollerworksDatagrid provides a powerful datagrid system for your PHP applications.
Displaying an objects list is one of the most common tasks in web applications and probably the easiest one. So how can this library help you?
The Datagrid system makes the styling and transforming of your data more uniform and easier to use. Secondly the system can take care of specific (styling) issues like sorting and paginating. All without duplicating code or degrading performance.
Features
RollerworksDatagrid provides you with all features needed, including:
- An Advanced column type system for uniform data transformation and styling in your datagrids.
- Auto mapping of data to the datagrid.
- Support for any data source (PHP array or any object implementing
\Traversable
). - (Optional, and coming soon) search/filter using RollerworksSearch.
- (Optional, and coming soon) Integrated Paginating using Pagerfanta
Note: Passing a
Pagerfanta
object as data source does already work due to theIteratorAggregate
implementation. The integration bridge however will make the rendering more uniform for datagrids.
Framework integration
RollerworksDatagrid can be used with any Framework of your choice, but for the best possible experience use the provided framework integration plug-ins.
- Symfony Bundle
- ZendFramework2 Plugin (coming soon)
- Silex Plugin (coming soon)
Your favorite framework not listed? No problem, see the Contributing Guidelines on how you can help!
Installation and usage
Please ignore the instructions below if your use a framework integration. Read the Documentation for master for complete instructions and information.
Install the RollerworksDatagrid "core" library using Composer:
And create the DatagridFactory
to get started:
Rendering
The core package however doesn't provide an implementation for this, you are free to use any compatible template engine you wish.
This example uses the TwigRendererEngine (which needs to be installed separately).
And in the my_page.html.twig
twig Template simple use:
That's it! Your datagrid is now rendered, but not only that! Whenever you use an advanced technique like search you only need this much code in your template.
Resources
- Read the Documentation for master
- RollerworksDatagrid is maintained under the Semantic Versioning guidelines
Who is behind RollerworksDatagrid?
RollerworksDatagrid is brought to you by Sebastiaan Stok.
License
RollerworksDatagrid is released under the MIT license.
The types and extensions are largely inspired on the Symfony Form Component, and contain a big amount of code from the Symfony project.
Support
Join the chat or use the issue tracker if your question is to complex for quick support.
Note: RollerworksDatagrid doesn't have a support forum at the moment, if you know a good free service let us know by opening an issue :+1:
Contributing
This is an open source project. If you'd like to contribute, please read the Contributing Guidelines. If you're submitting a pull request, please follow the guidelines in the Submitting a Patch section.
All versions of datagrid with dependencies
symfony/property-access Version ^3.0
symfony/options-resolver Version ^3.0
symfony/intl Version ^3.2.6