summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: b2cdf0d91daf5396a4c3bbee9c633aea0e5c83fe (plain)
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
{
    "name": "tecnickcom/tc-lib-pdf",
    "description": "PHP PDF Library",
    "type": "library",
    "homepage": "https://tcpdf.org",
    "license": "LGPL-3.0-or-later",
    "keywords": [
        "tc-lib-pdf",
        "TCPDF",
        "PDF",
        "PDFD32000-2008",
        "document"
    ],
    "authors": [
        {
            "name": "Nicola Asuni",
            "email": "info@tecnick.com",
            "role": "lead"
        }
    ],
    "funding": [
        {
            "type": "github",
            "url": "https://github.com/sponsors/tecnickcom"
        }
    ],
    "require": {
        "php": ">=8.2",
        "ext-date": "*",
        "ext-pcre": "*",
        "tecnickcom/tc-lib-barcode": "^2.5",
        "tecnickcom/tc-lib-color": "^2.6",
        "tecnickcom/tc-lib-pdf-image": "^2.3",
        "tecnickcom/tc-lib-pdf-font": "^2.13",
        "tecnickcom/tc-lib-file": "^2.6",
        "tecnickcom/tc-lib-pdf-encrypt": "^2.3",
        "tecnickcom/tc-lib-unicode-data": "^2.1",
        "tecnickcom/tc-lib-unicode": "^2.2",
        "tecnickcom/tc-lib-pdf-page": "^4.4",
        "tecnickcom/tc-lib-pdf-graph": "^2.5",
        "tecnickcom/tc-lib-pdf-parser": "^3.2"
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    },
    "require-dev": {
        "pdepend/pdepend": "^2.16",
        "phpunit/phpunit": "^13.1 || ^12.5 || ^11.5",
        "phpcompatibility/php-compatibility": "^10.0.0@dev"
    },
    "autoload": {
        "psr-4": {
            "Com\\Tecnick\\Pdf\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Test\\": "test"
        }
    },
    "archive": {
        "exclude": [
            "/examples"
        ]
    },
    "support": {
        "issues": "https://github.com/tecnickcom/tc-lib-pdf/issues",
        "source": "https://github.com/tecnickcom/tc-lib-pdf"
    },
    "scripts": {
        "test": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr test",
        "cs-check": "./vendor/bin/mago --config ./mago.src.toml lint src && ./vendor/bin/mago --config ./mago.test.toml lint test",
        "cs-fix": "./vendor/bin/mago fmt src test",
        "analyse": "./vendor/bin/mago --config ./mago.src.toml analyze src && ./vendor/bin/mago --config ./mago.test.toml analyze test",
        "post-install-cmd": [
            "[ -d vendor/tecnickcom/tc-lib-pdf-font ] && make -C vendor/tecnickcom/tc-lib-pdf-font deps fonts"
        ],
        "post-update-cmd": [
            "[ -d vendor/tecnickcom/tc-lib-pdf-font ] && make -C vendor/tecnickcom/tc-lib-pdf-font deps fonts"
        ]
    }
}