forked from phpcfdi/credentials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
67 lines (67 loc) · 2.34 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
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "phpcfdi/credentials",
"description": "Library to use eFirma (fiel) and CSD (sellos) from SAT",
"keywords": ["efirma", "fiel", "sat", "cfdi", "sello", "certificado"],
"homepage": "https://github.com/phpcfdi/credentials",
"license": "MIT",
"authors": [
{
"name": "phpCfdi",
"email": "[email protected]",
"homepage": "https://www.phpcfdi.com/"
}
],
"support": {
"source": "https://github.com/phpcfdi/credentials",
"issues": "https://github.com/phpcfdi/credentials/issues"
},
"require": {
"php": ">=7.2",
"ext-openssl": "*",
"ext-mbstring": "*",
"eclipxe/enum": "^0.2.0"
},
"require-dev": {
"ext-json": "*",
"phpunit/phpunit": "^8.4",
"squizlabs/php_codesniffer": "^3.0",
"friendsofphp/php-cs-fixer": "^2.4",
"phpstan/phpstan": "^0.12"
},
"autoload": {
"psr-4": {
"PhpCfdi\\Credentials\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PhpCfdi\\Credentials\\Tests\\": "tests/"
}
},
"scripts": {
"dev:build": ["@dev:fix-style", "@dev:test"],
"dev:check-style": [
"vendor/bin/php-cs-fixer fix --dry-run --verbose",
"vendor/bin/phpcs --colors -sp src/ tests/"
],
"dev:fix-style": [
"vendor/bin/php-cs-fixer fix --verbose",
"vendor/bin/phpcbf --colors -sp src/ tests/"
],
"dev:test": [
"@dev:check-style",
"vendor/bin/phpunit --testdox --verbose --stop-on-failure",
"vendor/bin/phpstan analyse --no-progress --verbose --level max src/ tests/"
],
"dev:coverage": [
"@php -dzend_extension=xdebug.so vendor/bin/phpunit --coverage-text --coverage-html build/coverage/html/"
]
},
"scripts-descriptions": {
"dev:build": "DEV: run dev:fix-style dev:tests and dev:docs, run before pull request",
"dev:check-style": "DEV: search for code style errors using php-cs-fixer and phpcs",
"dev:fix-style": "DEV: fix code style errors using php-cs-fixer and phpcbf",
"dev:test": "DEV: dev:check-style, phpunit and phpstan",
"dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/"
}
}