-
Notifications
You must be signed in to change notification settings - Fork 182
/
Copy pathcomposer.json
54 lines (54 loc) · 1.73 KB
/
composer.json
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
{
"name": "friendsofcake/cakepdf",
"type": "cakephp-plugin",
"description": "CakePHP plugin for creating and/or rendering Pdfs, several Pdf engines supported.",
"homepage": "http://github.com/friendsofcake/CakePdf",
"license": "MIT",
"require": {
"php": ">=8.1",
"cakephp/cakephp": "^5.0.1"
},
"require-dev": {
"phpunit/phpunit": "^10.3",
"dompdf/dompdf": "^2.0",
"mpdf/mpdf": "^8.1.6",
"tecnickcom/tcpdf": "^6.3",
"cakephp/cakephp-codesniffer": "^5.0"
},
"suggest": {
"dompdf/dompdf": "If you wish to use the DomPdf engine",
"tecnickcom/tcpdf": "If you wish to use the Tcpdf engine",
"mpdf/mpdf": "If you wish to use the Mpdf engine"
},
"autoload": {
"psr-4": {
"CakePdf\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/",
"CakePdf\\Test\\": "tests/",
"MyPlugin\\": "tests/test_app/plugins/MyPlugin/src/",
"TestApp\\": "tests/test_app/src/"
}
},
"minimum-stability": "stable",
"scripts": {
"check": [
"@test",
"@cs-check"
],
"cs-check": "phpcs -p --parallel=16",
"cs-fix": "phpcbf -p --parallel=16",
"stan": "phpstan analyse && psalm.phar",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.7 psalm/phar:~4.27.0 && mv composer.backup composer.json",
"test": "phpunit",
"test-coverage": "phpunit --coverage-clover=clover.xml"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}