Download the PHP package starlight93/html-pdf-excel without Composer

On this page you can find all versions of the php package starlight93/html-pdf-excel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package html-pdf-excel

HTML-PDF-EXCEL

Thanks to TCPDF and PHPSpreadsheet. This library is a helper to generate html, pdf, and excel from excel-based template and array data.

Installation

Usage

Basic Syntax

Code Description
v text vertical
t text with no border
r align content to right
l align content to left
c align content to center
b bold
h header or column head
+ border all sides
[ border left side
] border right side
- border top side
_ border bottom side
= border doubled
. number separator formatting, Example result: from 1000000 becomes 1.000.000
w{number}% width {number} %. Example: w25% will set the column width to 25 % of table width
u underline
i italic
g #616469 gray background
y #e8ff17 yellow background

Inside Looping Syntax

Code Description
$dataIndex key data index
$detail.dataIndex data index di detail
? space or empty cell
! grouping column and take the first cell value
_number autonumberer starts from 1
${looped_array_key}.{single_array_key} Set value given from key

Additional Features

You can also use any mathematic formula to get dynamic value as the image above such as summary or etc.

Dynamic Columns (table)

Below shows how to generate dynamic templates. Focus to .dynamic string which is shown in the picture

By using data array above, the .dynamic header in the template will be replaced with the following dynamic key in the data array. So the final template result will be like this picture shown below:


All versions of html-pdf-excel with dependencies

PHP Build Version
Package Version
Requires tecnickcom/tcpdf Version ^6.4
phpoffice/phpspreadsheet Version ^1.21
mossadal/math-parser Version ^1.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package starlight93/html-pdf-excel contains the following files

Loading the files please wait ....