1{
2
3	"name": "mpdf/mpdf",
4	"type": "library",
5
6	"description": "PHP library generating PDF files from UTF-8 encoded HTML",
7
8	"keywords": ["php", "pdf", "utf-8"],
9	"homepage": "https://mpdf.github.io",
10
11	"license": ["GPL-2.0-only"],
12
13	"authors": [
14		{
15			"name": "Matěj Humpál",
16			"role": "Developer, maintainer"
17		},
18		{
19			"name": "Ian Back",
20			"role": "Developer (retired)"
21		}
22	],
23
24	"support": {
25
26		"issues": "https://github.com/mpdf/mpdf/issues",
27		"source": "https://github.com/mpdf/mpdf",
28		"docs": "http://mpdf.github.io"
29
30	},
31
32	"require": {
33
34		"php": "^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0",
35
36		"ext-gd": "*",
37		"ext-mbstring": "*",
38
39		"psr/log": "^1.0",
40		"setasign/fpdi": "^2.1",
41		"paragonie/random_compat": "^1.4|^2.0|9.99.99",
42		"myclabs/deep-copy": "^1.7"
43
44	},
45
46	"require-dev": {
47
48		"phpunit/phpunit": "^5.0",
49		"mockery/mockery": "^0.9.5",
50		"squizlabs/php_codesniffer": "^3.5.0",
51		"tracy/tracy": "^2.4",
52		"mpdf/qrcode": "^1.0.0"
53
54	},
55
56	"suggest": {
57
58		"ext-bcmath": "Needed for generation of some types of barcodes",
59		"ext-zlib": "Needed for compression of embedded resources, such as fonts",
60		"ext-xml": "Needed mainly for SVG manipulation"
61
62	},
63
64	"autoload": {
65
66		"psr-4": {
67			"Mpdf\\": "src/"
68		}
69
70	},
71
72	"autoload-dev": {
73
74		"psr-4": {
75			"Mpdf\\": "tests/Mpdf"
76		},
77
78		"files": [
79			"src/functions-dev.php"
80		]
81
82	},
83
84	"scripts": {
85		"post-install-cmd": [
86			"php -r \"chmod('./tmp', 0777);\""
87		],
88		"cs": "@php vendor/bin/phpcs -v --report-width=160 --standard=ruleset.xml --severity=1 --warning-severity=0 --extensions=php src utils tests",
89		"test": "@php vendor/bin/phpunit",
90		"coverage": "@php vendor/bin/phpunit --coverage-text"
91	},
92
93	"extra": {
94		"branch-alias": {
95			"dev-development": "7.x-dev"
96		}
97	}
98
99}
100