Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
108 lines (108 loc) · 3.71 KB
/
Copy pathcomposer.json
File metadata and controls
108 lines (108 loc) · 3.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "mpdf/mpdf",
"type": "library",
"description": "PHP library generating PDF files from UTF-8 encoded HTML",
"keywords": ["php", "pdf", "utf-8"],
"homepage": "https://mpdf.github.io",
"license": ["GPL-2.0-only"],
"authors": [
{
"name": "Matěj Humpál",
"role": "Developer, maintainer"
},
{
"name": "Ian Back",
"role": "Developer (retired)"
}
],
"support": {
"issues": "https://github.com/mpdf/mpdf/issues",
"source": "https://github.com/mpdf/mpdf",
"docs": "https://mpdf.github.io"
},
"repositories": [
{
"type": "path",
"url": "packages/*"
}
],
"require": {
"php": "^5.6 || ^7.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
"ext-gd": "*",
"ext-json": "*",
"ext-mbstring": "*",
"mpdf/psr-http-message-shim": "^1.0 || ^2.0",
"mpdf/psr-log-aware-trait": "^2.0 || ^3.0",
"paragonie/random_compat": "^1.4|^2.0|^9.99.99",
"psr/http-message": "^1.0 || ^2.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"setasign/fpdi": "^2.1",
"symfony/polyfill-intl-normalizer": "^1.10"
},
"require-dev": {
"mockery/mockery": "^1.3.0",
"mpdf/font-bundle-all": "*",
"mpdf/qrcode": "^1.1.0",
"squizlabs/php_codesniffer": "^3.5.0",
"tracy/tracy": "~2.5",
"yoast/phpunit-polyfills": "^1.0"
},
"suggest": {
"ext-bcmath": "Needed for generation of some types of barcodes",
"ext-zlib": "Needed for compression of embedded resources, such as fonts",
"ext-xml": "Needed mainly for SVG manipulation",
"ext-openssl": "Needed to encrypt documents with SetProtection()",
"ext-fileinfo": "Needed to check the type of the files annotations embed",
"ext-imagick": "Needed if developing the Mpdf library",
"easybill/e-invoicing": "Writes the Factur-X / ZUGFeRD / XRechnung XML that SetEmbeddedInvoice() embeds, and UBL; HtmlInvoiceWriter prints both (PHP 8.3+)",
"horstoeko/zugferd": "Writes the Factur-X / ZUGFeRD / XRechnung XML that SetEmbeddedInvoice() embeds, on PHP older than 8.3",
"mpdf/font-bundle-all": "All official mPDF fonts that offers coverage for common and uncommon scripts worldwide. Uses 110MB of disk space.",
"mpdf/font-bundle-lite": "A subset of official mPDF fonts that offers coverage for most common scripts. Uses 30MB of disk space.",
"mpdf/font-dejavu-family": "A unicode font family with reasonable coverage of common scripts. Uses 10MB of disk space."
},
"autoload": {
"psr-4": {
"Mpdf\\": "src/"
},
"files": [
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Mpdf\\": "tests/Mpdf",
"Snapshots\\": "tests/Snapshots",
"Issues\\": "tests/Issues"
},
"files": [
"src/functions-dev.php"
]
},
"scripts": {
"post-install-cmd": [
"php -r \"chmod('./tmp', 0777);\""
],
"cs": "@php vendor/bin/phpcs --report-width=160 --standard=ruleset.xml --severity=1 --warning-severity=0 --extensions=php src utils tests",
"cs:fix": "@php vendor/bin/phpcbf --standard=ruleset.xml --extensions=php src utils tests",
"test": "@php -d memory_limit=512M vendor/bin/phpunit",
"snapshot:update": "@php utils/snapshot_update.php",
"arabicjoining:update": "@php utils/arabicjoining_update.php",
"emoji:update": "@php utils/emoji_update.php",
"fontcache:update": "@php utils/fontcache_update.php",
"grayprofile:update": "@php utils/grayprofile_update.php",
"otlanguages:update": "@php utils/otlanguages_update.php",
"otldump:update": "@php utils/otldump_update.php",
"shaping:update": "@php utils/shaping_update.php",
"subset:update": "@php utils/subset_update.php",
"ucdn:update": "@php utils/ucdn_update.php",
"coverage": "@php vendor/bin/phpunit --coverage-text"
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-gravitypdf": "8.x-dev"
}
}
}