-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
53 lines (53 loc) · 1.72 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
{
"name": "digitalrevolution/intl",
"description": "Digital Revolution Internationalization library",
"type": "library",
"license": "MIT",
"minimum-stability": "stable",
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"require": {
"php": ">=8.1",
"ext-intl": "*",
"giggsey/libphonenumber-for-php-lite": "^8.13.11",
"moneyphp/money": "^3.3 || ^4.0"
},
"autoload": {
"psr-4": {
"DR\\Internationalization\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DR\\Internationalization\\Tests\\Unit\\": "tests/Unit/",
"DR\\Internationalization\\Tests\\": "tests/"
}
},
"require-dev": {
"digitalrevolution/phpunit-file-coverage-inspection": "^v2.0.0",
"digitalrevolution/accessorpair-constraint": "^v2.1.18",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.6",
"phpmd/phpmd": "^2.14",
"phpunit/phpunit": "^10.5.1",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-strict-rules": "^1.5",
"phpstan/extension-installer": "^1.3"
},
"scripts": {
"check": ["@check:phpstan", "@check:phpmd", "@check:phpcs"],
"check:phpstan": "phpstan analyse",
"check:phpmd": "phpmd src,tests text phpmd.xml.dist --suffixes php",
"check:phpcs": "phpcs src tests",
"fix": "@fix:phpcbf",
"fix:phpcbf": "phpcbf src tests",
"test": "phpunit",
"test:integration": "phpunit --testsuite integration",
"test:unit": "phpunit --testsuite unit"
}
}