1{ 2 "name": "mpdf/mpdf", 3 "type": "library", 4 "description": "PHP library generating PDF files from UTF-8 encoded HTML", 5 "keywords": ["php", "pdf", "utf-8"], 6 "homepage": "https://mpdf.github.io", 7 "license": ["GPL-2.0-only"], 8 "authors": [ 9 { 10 "name": "Matěj Humpál", 11 "role": "Developer, maintainer" 12 }, 13 { 14 "name": "Ian Back", 15 "role": "Developer (retired)" 16 } 17 ], 18 "support": { 19 "issues": "https://github.com/mpdf/mpdf/issues", 20 "source": "https://github.com/mpdf/mpdf", 21 "docs": "http://mpdf.github.io" 22 }, 23 "require": { 24 "php": "^5.6 || ^7.0 || ~8.0.0 || ~8.1.0", 25 "ext-gd": "*", 26 "ext-mbstring": "*", 27 "myclabs/deep-copy": "^1.7", 28 "paragonie/random_compat": "^1.4|^2.0|^9.99.99", 29 "psr/log": "^1.0 || ^2.0", 30 "setasign/fpdi": "^2.1" 31 }, 32 "require-dev": { 33 "mockery/mockery": "^1.3.0", 34 "mpdf/qrcode": "^1.1.0", 35 "squizlabs/php_codesniffer": "^3.5.0", 36 "tracy/tracy": "^2.4", 37 "yoast/phpunit-polyfills": "^1.0" 38 }, 39 "suggest": { 40 "ext-bcmath": "Needed for generation of some types of barcodes", 41 "ext-zlib": "Needed for compression of embedded resources, such as fonts", 42 "ext-xml": "Needed mainly for SVG manipulation" 43 }, 44 "autoload": { 45 "psr-4": { 46 "Mpdf\\": "src/" 47 } 48 }, 49 "autoload-dev": { 50 "psr-4": { 51 "Mpdf\\": "tests/Mpdf" 52 }, 53 "files": [ 54 "src/functions-dev.php" 55 ] 56 }, 57 "scripts": { 58 "post-install-cmd": [ 59 "php -r \"chmod('./tmp', 0777);\"" 60 ], 61 "cs": "@php vendor/bin/phpcs -v --report-width=160 --standard=ruleset.xml --severity=1 --warning-severity=0 --extensions=php src utils tests", 62 "test": "@php vendor/bin/phpunit", 63 "coverage": "@php vendor/bin/phpunit --coverage-text" 64 }, 65 "config": { 66 "sort-packages": true 67 } 68} 69