Download the PHP
package setasign/tfpdf without Composer
On this page you can find all versions of the php package
setasign/tfpdf. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor setasign Package tfpdf Short Description This class is a modified version of FPDF that adds UTF-8 support. As of version 1.31 it is based on FPDF 1.82. Before it was based on FPDF 1.7. License
LGPL-2.1 Homepage http://fpdf.org/en/script/script92.php
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.
This repository is only made for cloning official tFPDF releases which are available at:
http://fpdf.org/en/script/script92.php THERE WILL BE NO DEVELOPMENT IN THIS REPOSITORY!
_The only change in this version is that the requireonce() calls to font/unifont/ttfonts.php
are commented and resolved through the composer autoloader. The demo ex.php was changed
accordingly, too.
tFPDF accepts UTF-8 encoded text. It embeds font subsets allowing small PDF files.
It requires a folder 'unifont' as a subfolder of the 'font' folder.
You should make the 'unifont' folder writeable (CHMOD 755 or 644). Although this
is not essential, it allows caching of the font metrics the first time a font is used,
making subsequent uses much faster.
All tFPDF requires is a .ttf TrueType font file. The file should be placed in the
'unifont' directory. Optionally, you can also define the path to your system fonts e.g. 'C:\Windows\Font'
(see the example ex.php file) and reference TrueType fonts in this directory.
Pass a fourth parameter as true when calling AddFont(), and use utf-8 encoded text
when using Write() etc.
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 setasign/tfpdf contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.