This repository was archived by the owner on Jul 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
58 lines (58 loc) · 2.21 KB
/
composer.json
File metadata and controls
58 lines (58 loc) · 2.21 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
{
"name" : "move-elevator/sputnik-pdf-form",
"description" : "fill pdf forms with data",
"type" : "library",
"autoload" : {
"psr-4" : {
"MoveElevator\\SputnikPdfForm\\" : "src/"
}
},
"autoload-dev" : {
"psr-4" : {
"MoveElevator\\SputnikPdfForm\\Tests\\" : "tests/"
}
},
"require" : {
"ext-intl": "*",
"php" : ">=8.2",
"mikehaertl/php-pdftk": "^0.13.0",
"moneyphp/money": "^4.1"
},
"require-dev" : {
"ext-xdebug" : "*",
"roave/security-advisories" : "dev-master",
"move-elevator/local-php-security-checker-installer" : "^1.0",
"phpstan/phpstan" : "^1.9",
"phpunit/phpunit" : "^9.5",
"slevomat/coding-standard" : "dev-master",
"squizlabs/php_codesniffer" : "^3.7",
"mockery/mockery": "^1.5"
},
"scripts" : {
"post-install-cmd" : [
"@activate-git-hooks"
],
"post-update-cmd" : [
"@activate-git-hooks"
],
"quickcheck" : [
"/usr/local/bin/php8.2 ./vendor/bin/phpstan.phar analyse -l max --memory-limit=512M -c ./phpstan.neon ./src/ --xdebug",
"/usr/local/bin/php8.2 ./vendor/bin/phpunit -c ./phpunit.xml --testdox",
"/usr/local/bin/php8.2 ./vendor/bin/phpcs ./src ./tests --standard=./ruleset.xml --extensions=php --parallel=100"
],
"phpcs-fixer" : [
"/usr/local/bin/php8.2 ./vendor/bin/phpcbf ./src ./tests --standard=./ruleset.xml --extensions=php --parallel=100"
],
"activate-git-hooks" : [
"[ -f ../.git/hooks/pre-commit.sh ] || mkdir -p ../.git/hooks/",
"[ -f ../.git/hooks/pre-commit.sh ] || echo '#!/bin/sh\n/usr/local/bin/php8.2 /usr/local/bin/composer quickcheck -d ./application' | tee ../.git/hooks/pre-commit.sh",
"[ -f ../.git/hooks/pre-commit ] || chmod +x ../.git/hooks/pre-commit.sh",
"[ -f ../.git/hooks/pre-commit ] || cd ../.git/hooks && [ -f ../.git/hooks/pre-commit ] || ln -snf ./pre-commit.sh ./pre-commit"
]
},
"config" : {
"allow-plugins" : {
"dealerdirect/phpcodesniffer-composer-installer" : true
}
}
}