Download the PHP package tecnickcom/tc-lib-pdf-encrypt without Composer
On this page you can find all versions of the php package tecnickcom/tc-lib-pdf-encrypt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tecnickcom/tc-lib-pdf-encrypt
More information about tecnickcom/tc-lib-pdf-encrypt
Files in tecnickcom/tc-lib-pdf-encrypt
Package tc-lib-pdf-encrypt
Short Description PHP library to encrypt data for PDF
License LGPL-3.0-or-later
Homepage http://www.tecnick.com
Informations about the package tc-lib-pdf-encrypt
tc-lib-pdf-encrypt
PHP library to encrypt data for PDF
Please consider supporting this project by making a donation via PayPal
- category Library
- package \Com\Tecnick\Pdf\Encrypt
- author Nicola Asuni [email protected]
- copyright 2011-2024 Nicola Asuni - Tecnick.com LTD
- license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)
- link https://github.com/tecnickcom/tc-lib-pdf-encrypt
- SRC DOC https://tcpdf.org/docs/srcdoc/tc-lib-pdf-encrypt
Description
PHP library to encrypt data for PDF.
The initial source code has been derived from TCPDF.
OpenSSL 3
When using OpenSSL 3 some legacy providers are disabled by default. This will trigger the following error when executing the test:
Legacy provider can be enabled by followign the instructions at: https://wiki.openssl.org/index.php/OpenSSL_3.0#Providers
An alternative OpenSSL configuration file is provided on and set by default in the Makefile. To overrride the custom OpenSSL configuration file set the following environment variable:
Getting started
This library requires the openssl php extension.
First, you need to install all development dependencies using Composer:
This project include a Makefile that allows you to test and build the project with simple commands. To see all available options:
To install all the development dependencies:
Running all tests
Before committing the code, please check if it passes all tests using
All artifacts are generated in the target directory.
Example
Examples are located in the example
directory.
Start a development server (requires PHP 8.0+) using the command:
and point your browser to http://localhost:8000/index.php
Installation
Create a composer.json in your projects root-directory:
Or add to an existing project with:
Packaging
This library is mainly intended to be used and included in other PHP projects using Composer.
However, since some production environments dictates the installation of any application as RPM or DEB packages,
this library includes make targets for building these packages (make rpm
and make deb
).
The packages are generated under the target
directory.
When this library is installed using an RPM or DEB package, you can use it your code by including the autoloader:
Developer(s) Contact
- Nicola Asuni [email protected]
All versions of tc-lib-pdf-encrypt with dependencies
ext-date Version *
ext-hash Version *
ext-openssl Version *
ext-pcre Version *