PDF Work In Progress

This commit is contained in:
Mr. Timothy Glenn Webb Sr committed 2020-10-06 05:21:14 +00:00
1 parent 79f1723002
commit 20efebbe03
5 files changed
+2556 -313

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
<?php
require('fpdf.php');
require('tfpdf.php');
class PDF_ImageAlpha extends FPDF
{
Binary file not shown.
File diff suppressed because it is too large. Load diff
+56 -53
View File
@@ -1,53 +1,56 @@
{
"name": "boxbilling/boxbilling",
"description": "Open Source Billing Software",
"type": "project",
"license": "Apache-2.0",
"keywords": ["billing", "invoice", "client management"],
"homepage": "http://www.boxbilling.com",
"authors": [
{
"name": "Andrius Putna",
"email": "andrius@boxbilling.com"
}
],
"require": {
"php": ">=7.4.0",
"ext-curl": "*",
"ext-zlib": "*",
"ext-PDO": "*",
"ext-mbstring" : "*",
"pimple/pimple": "v3.3.0",
"twig/twig": "^v2.13.0",
"twig/extensions": "^1.5.4",
"mpdf/mpdf": "v8.0.4",
"geoip2/geoip2": "v2.10.0",
"ircmaxell/password-compat": "v1.0.4",
"phpmailer/phpmailer": "6.1.6",
"mustangostang/spyc": "0.5.1",
"michelf/php-markdown": "1.9.0",
"stripe/stripe-php": "2.1.1",
"guzzlehttp/guzzle": "*",
"laminas/laminas-httphandlerrunner": "^1.2.0"
},
"suggest": {
"ext-gettext": "*"
},
"config": {
"vendor-dir": "bb-vendor"
},
"autoload": {
"psr-0": {"": "bb-library"},
"psr-4": {"Box\\Mod\\": "bb-modules"}
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"squizlabs/php_codesniffer": "1.*"
},
"autoload-dev": {
"psr-0": { "": "../tests/bb-library" }
}
}
{
"name": "boxbilling/boxbilling",
"description": "Open Source Billing Software",
"type": "project",
"license": "Apache-2.0",
"keywords": ["billing", "invoice", "client management"],
"homepage": "http://www.boxbilling.com",
"authors": [
{
"name": "Andrius Putna",
"email": "andrius@boxbilling.com"
}
],
"require": {
"php": ">=7.4.0",
"ext-curl": "*",
"ext-zlib": "*",
"ext-PDO": "*",
"ext-mbstring" : "*",
"pimple/pimple": "v3.3.0",
"twig/twig": "^v2.13.0",
"twig/extensions": "^1.5.4",
"geoip2/geoip2": "v2.10.0",
"ircmaxell/password-compat": "v1.0.4",
"phpmailer/phpmailer": "6.1.6",
"mustangostang/spyc": "0.5.1",
"michelf/php-markdown": "1.9.0",
"stripe/stripe-php": "2.1.1",
"guzzlehttp/guzzle": "*",
"laminas/laminas-httphandlerrunner": "^1.2.0",
"fpdf/fpdf": "^1.82",
"docnet/tfpdf": "^2.2",
"rev42/tfpdf": "^1.25",
"setasign/fpdf": "^1.8"
},
"suggest": {
"ext-gettext": "*"
},
"config": {
"vendor-dir": "bb-vendor"
},
"autoload": {
"psr-0": {"": "bb-library"},
"psr-4": {"Box\\Mod\\": "bb-modules"}
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"squizlabs/php_codesniffer": "1.*"
},
"autoload-dev": {
"psr-0": { "": "../tests/bb-library" }
}
}
+201 -259
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "e16ad934bf5352098dac46299287da67",
"content-hash": "9bd4a9c4b9e5394a8e3055f6c76aba1a",
"packages": [
{
"name": "composer/ca-bundle",
@@ -76,6 +76,100 @@
],
"time": "2020-08-23T12:54:47+00:00"
},
{
"name": "docnet/tfpdf",
"version": "v2.2.3",
"source": {
"type": "git",
"url": "https://github.com/DocnetUK/tfpdf.git",
"reference": "e2809ce7da5f3f9c77ec9cdf1e0704882fe012ba"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/DocnetUK/tfpdf/zipball/e2809ce7da5f3f9c77ec9cdf1e0704882fe012ba",
"reference": "e2809ce7da5f3f9c77ec9cdf1e0704882fe012ba",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"php": ">= 5.5"
},
"require-dev": {
"phpunit/phpunit": "5.5.*"
},
"type": "library",
"autoload": {
"psr-4": {
"tFPDF\\": "src/tFPDF/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL"
],
"authors": [
{
"name": "Ian Back",
"email": "ianb@bpm1.com"
},
{
"name": "Dave Blencowe",
"email": "dblencowe@gmail.com"
},
{
"name": "David Wilcock",
"email": "dwilcock@doc-net.com"
}
],
"description": "tfpdf",
"homepage": "http://github.com/DocnetUK/tfpdf",
"keywords": [
"pdf"
],
"time": "2019-01-21T10:55:00+00:00"
},
{
"name": "fpdf/fpdf",
"version": "1.82.1",
"source": {
"type": "git",
"url": "https://github.com/coreydoughty/Fpdf.git",
"reference": "a8eb66ba732813f282a935775bceb72ffd40b15d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/coreydoughty/Fpdf/zipball/a8eb66ba732813f282a935775bceb72ffd40b15d",
"reference": "a8eb66ba732813f282a935775bceb72ffd40b15d",
"shasum": ""
},
"require": {
"php": ">=5.6.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Fpdf\\": "src/Fpdf"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Corey Doughty",
"email": "corey@doughty.ca"
}
],
"description": "FPDF Composer Wrapper",
"homepage": "https://github.com/coreydoughty/Fpdf",
"keywords": [
"fpdf",
"pdf",
"wrapper"
],
"time": "2020-02-15T12:05:43+00:00"
},
{
"name": "geoip2/geoip2",
"version": "v2.10.0",
@@ -665,75 +759,6 @@
],
"time": "2019-12-02T02:32:27+00:00"
},
{
"name": "mpdf/mpdf",
"version": "v8.0.4",
"source": {
"type": "git",
"url": "https://github.com/mpdf/mpdf.git",
"reference": "d3147a0d790b6d11936fd9c73fa31a7ed45e3f6f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/mpdf/mpdf/zipball/d3147a0d790b6d11936fd9c73fa31a7ed45e3f6f",
"reference": "d3147a0d790b6d11936fd9c73fa31a7ed45e3f6f",
"shasum": ""
},
"require": {
"ext-gd": "*",
"ext-mbstring": "*",
"myclabs/deep-copy": "^1.7",
"paragonie/random_compat": "^1.4|^2.0|9.99.99",
"php": "^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0",
"psr/log": "^1.0",
"setasign/fpdi": "^2.1"
},
"require-dev": {
"mockery/mockery": "^0.9.5",
"mpdf/qrcode": "^1.0.0",
"phpunit/phpunit": "^5.0",
"squizlabs/php_codesniffer": "^3.5.0",
"tracy/tracy": "^2.4"
},
"suggest": {
"ext-bcmath": "Needed for generation of some types of barcodes",
"ext-xml": "Needed mainly for SVG manipulation",
"ext-zlib": "Needed for compression of embedded resources, such as fonts"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-development": "7.x-dev"
}
},
"autoload": {
"psr-4": {
"Mpdf\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0-only"
],
"authors": [
{
"name": "Matěj Humpál",
"role": "Developer, maintainer"
},
{
"name": "Ian Back",
"role": "Developer (retired)"
}
],
"description": "PHP library generating PDF files from UTF-8 encoded HTML",
"homepage": "https://mpdf.github.io",
"keywords": [
"pdf",
"php",
"utf-8"
],
"time": "2019-11-28T09:39:33+00:00"
},
{
"name": "mustangostang/spyc",
"version": "0.5.1",
@@ -781,105 +806,6 @@
],
"time": "2013-02-21T10:52:01+00:00"
},
{
"name": "myclabs/deep-copy",
"version": "1.10.1",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
"reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/969b211f9a51aa1f6c01d1d2aef56d3bd91598e5",
"reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5",
"shasum": ""
},
"require": {
"php": "^7.1 || ^8.0"
},
"replace": {
"myclabs/deep-copy": "self.version"
},
"require-dev": {
"doctrine/collections": "^1.0",
"doctrine/common": "^2.6",
"phpunit/phpunit": "^7.1"
},
"type": "library",
"autoload": {
"psr-4": {
"DeepCopy\\": "src/DeepCopy/"
},
"files": [
"src/DeepCopy/deep_copy.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Create deep copies (clones) of your objects",
"keywords": [
"clone",
"copy",
"duplicate",
"object",
"object graph"
],
"funding": [
{
"url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
"type": "tidelift"
}
],
"time": "2020-06-29T13:22:24+00:00"
},
{
"name": "paragonie/random_compat",
"version": "v9.99.99",
"source": {
"type": "git",
"url": "https://github.com/paragonie/random_compat.git",
"reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95",
"reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95",
"shasum": ""
},
"require": {
"php": "^7"
},
"require-dev": {
"phpunit/phpunit": "4.*|5.*",
"vimeo/psalm": "^1"
},
"suggest": {
"ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
},
"type": "library",
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Paragon Initiative Enterprises",
"email": "security@paragonie.com",
"homepage": "https://paragonie.com"
}
],
"description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
"keywords": [
"csprng",
"polyfill",
"pseudorandom",
"random"
],
"time": "2018-07-02T15:55:56+00:00"
},
{
"name": "phpmailer/phpmailer",
"version": "v6.1.6",
@@ -1199,53 +1125,6 @@
],
"time": "2018-10-30T16:46:14+00:00"
},
{
"name": "psr/log",
"version": "1.1.3",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
"reference": "0f73288fd15629204f9d42b7055f72dacbe811fc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc",
"reference": "0f73288fd15629204f9d42b7055f72dacbe811fc",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.1.x-dev"
}
},
"autoload": {
"psr-4": {
"Psr\\Log\\": "Psr/Log/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"description": "Common interface for logging libraries",
"homepage": "https://github.com/php-fig/log",
"keywords": [
"log",
"psr",
"psr-3"
],
"time": "2020-03-23T09:12:05+00:00"
},
{
"name": "ralouphie/getallheaders",
"version": "3.0.3",
@@ -1287,72 +1166,81 @@
"time": "2019-03-08T08:55:37+00:00"
},
{
"name": "setasign/fpdi",
"version": "v2.3.4",
"name": "rev42/tfpdf",
"version": "v1.25",
"source": {
"type": "git",
"url": "https://github.com/Setasign/FPDI.git",
"reference": "2b5fb811c04f937ef257ef3f798cebeded33c136"
"url": "https://github.com/rev42/tfpdf.git",
"reference": "08689ec41e757dde94db5e7527a98c5788555b61"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Setasign/FPDI/zipball/2b5fb811c04f937ef257ef3f798cebeded33c136",
"reference": "2b5fb811c04f937ef257ef3f798cebeded33c136",
"url": "https://api.github.com/repos/rev42/tfpdf/zipball/08689ec41e757dde94db5e7527a98c5788555b61",
"reference": "08689ec41e757dde94db5e7527a98c5788555b61",
"shasum": ""
},
"require": {
"ext-zlib": "*",
"php": "^5.6 || ^7.0"
},
"conflict": {
"setasign/tfpdf": "<1.31"
},
"require-dev": {
"phpunit/phpunit": "~5.7",
"setasign/fpdf": "~1.8",
"setasign/tfpdf": "1.31",
"squizlabs/php_codesniffer": "^3.5",
"tecnickcom/tcpdf": "~6.2"
},
"suggest": {
"setasign/fpdf": "FPDI will extend this class but as it is also possible to use TCPDF or tFPDF as an alternative. There's no fixed dependency configured."
},
"type": "library",
"autoload": {
"psr-4": {
"setasign\\Fpdi\\": "src/"
"psr-0": {
"tFPDF": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL"
],
"authors": [
{
"name": "Ian Back",
"email": "ianb@bpm1.com"
}
],
"description": "tFPDF",
"homepage": "http://fpdf.org/fr/script/script92.php",
"keywords": [
"pdf"
],
"abandoned": "docnet/tFPDF",
"time": "2015-10-10T22:37:26+00:00"
},
{
"name": "setasign/fpdf",
"version": "1.8.2",
"source": {
"type": "git",
"url": "https://github.com/Setasign/FPDF.git",
"reference": "d77904018090c17dc9f3ab6e944679a7a47e710a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Setasign/FPDF/zipball/d77904018090c17dc9f3ab6e944679a7a47e710a",
"reference": "d77904018090c17dc9f3ab6e944679a7a47e710a",
"shasum": ""
},
"type": "library",
"autoload": {
"classmap": [
"fpdf.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jan Slabon",
"email": "jan.slabon@setasign.com",
"homepage": "https://www.setasign.com"
},
{
"name": "Maximilian Kresse",
"email": "maximilian.kresse@setasign.com",
"homepage": "https://www.setasign.com"
"name": "Olivier Plathey",
"email": "oliver@fpdf.org",
"homepage": "http://fpdf.org/"
}
],
"description": "FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF. Because it is also possible to use FPDI with TCPDF, there are no fixed dependencies defined. Please see suggestions for packages which evaluates the dependencies automatically.",
"homepage": "https://www.setasign.com/fpdi",
"description": "FPDF is a PHP class which allows to generate PDF files with pure PHP. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.",
"homepage": "http://www.fpdf.org",
"keywords": [
"fpdf",
"fpdi",
"pdf"
],
"funding": [
{
"url": "https://tidelift.com/funding/github/packagist/setasign/fpdi",
"type": "tidelift"
}
],
"time": "2020-08-27T06:55:47+00:00"
"time": "2019-12-08T10:32:10+00:00"
},
{
"name": "stripe/stripe-php",
@@ -1765,6 +1653,60 @@
],
"time": "2020-05-29T17:27:14+00:00"
},
{
"name": "myclabs/deep-copy",
"version": "1.10.1",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
"reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/969b211f9a51aa1f6c01d1d2aef56d3bd91598e5",
"reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5",
"shasum": ""
},
"require": {
"php": "^7.1 || ^8.0"
},
"replace": {
"myclabs/deep-copy": "self.version"
},
"require-dev": {
"doctrine/collections": "^1.0",
"doctrine/common": "^2.6",
"phpunit/phpunit": "^7.1"
},
"type": "library",
"autoload": {
"psr-4": {
"DeepCopy\\": "src/DeepCopy/"
},
"files": [
"src/DeepCopy/deep_copy.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Create deep copies (clones) of your objects",
"keywords": [
"clone",
"copy",
"duplicate",
"object",
"object graph"
],
"funding": [
{
"url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
"type": "tidelift"
}
],
"time": "2020-06-29T13:22:24+00:00"
},
{
"name": "nikic/php-parser",
"version": "v4.10.2",