PHP Pivot (dynamic tables)
Switch branches/tags
Nothing to show
Clone or download
eclipxe13 Version 0.2.0 2017-04-17
- BC Break: Change Pivot constructor, now it does not depends on DBAL
- Pivot now only has the structure of the pivot, the query methods are in a new Query class
Latest commit 5169a03 Apr 17, 2017

eclipxe13/engineworks-pivot - PHP Pivot (dynamic tables)

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.


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


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.