eclipxe/engineworks-pivot

PHP Pivot (dynamic tables)

v0.2.0 2017-04-17 20:04 UTC

This package is auto-updated.

Last update: 2024-04-09 17:00:16 UTC


README

Source Code Latest Version Software License Build Status Scrutinizer Coverage Status Total Downloads SensioLabsInsight

Use this library to retrieve a pivot table (aka dynamic table) from a database.

The pivot allows you to define a source (a table, a view or a query), source fields, filters, rows and columns to group by and aggregators to operate (like sum, average, count, standar deviation...). All this pivot structure can be stored and loaded in xml files and modified at runtime.

After a pivot structure has been set, you can query the database for the results and receive a organized information no navigate. The library includes a formatter helper class to create an XHTML Table based on a query result.

Installation

Use composer to install this library composer require eclipxe/engineworks-pivot

Contributing

Contributions are welcome! Please read CONTRIBUTING for details and don't forget to take a look in the TODO and CHANGELOG files.

Copyright and License

The eclipxe13/engineworks-pivot library is copyright © Carlos C Soto and licensed for use under the MIT License (MIT). Please see LICENSE for more information.