Download the PHP package genesisaplicaciones/genesis-php-tools without Composer
On this page you can find all versions of the php package genesisaplicaciones/genesis-php-tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download genesisaplicaciones/genesis-php-tools
More information about genesisaplicaciones/genesis-php-tools
Files in genesisaplicaciones/genesis-php-tools
Package genesis-php-tools
Short Description Some libraries and helper functions commonly used by the Genesis Aplicaciones developer team across different solutions.
License MIT
Homepage https://github.com/GenesisAplicaciones/GenesisPhpTools
Informations about the package genesis-php-tools
Genesis PHP Tools
Some libraries and helper functions commonly used by the Genesis Aplicaciones developer team across different solutions.
Libraries included
SpreadSheetTemplate.php
Quicky generate a spreadsheet document based on a common template with minimun configuration, but allowing you to customize several parameters, like:
- owner_info
- logo
- logo_wide
- logo_square
- solution_name
- title
- subject
- category
- last_modified_by
- table_color
- color_title_bg
- color_title_font
- color_headers_bg
- color_table_border
- memory_limit
For the table data, you can pass the raw data array from a database query and especify excluded columns and edit the names by overwriting all or only renaming the ones needed. Also, when generating the file you cant force the download directly or you can return the bin file and do what you want whith it (like a base64_encode).
Examples
Minimal effort setup:
Result:
Advanced usage:
Result: