|
1 | 1 | { |
2 | 2 | "name": "phpcfdi/finkok", |
3 | 3 | "description": "Librería para conectar con la API de servicios de FINKOK", |
4 | | - "keywords": ["phpcfdi", "sat", "cfdi", "finkok"], |
5 | | - "homepage": "https://github.com/phpcfdi/finkok", |
6 | 4 | "license": "MIT", |
| 5 | + "keywords": [ |
| 6 | + "phpcfdi", |
| 7 | + "sat", |
| 8 | + "cfdi", |
| 9 | + "finkok" |
| 10 | + ], |
7 | 11 | "authors": [ |
8 | 12 | { |
9 | 13 | "name": "Carlos C Soto", |
10 | 14 | "email": "eclipxe13@gmail.com", |
11 | 15 | "homepage": "https://eclipxe.com.mx/" |
12 | 16 | } |
13 | 17 | ], |
| 18 | + "homepage": "https://github.com/phpcfdi/finkok", |
14 | 19 | "support": { |
15 | | - "source": "https://github.com/phpcfdi/finkok", |
16 | | - "issues": "https://github.com/phpcfdi/finkok/issues" |
17 | | - }, |
18 | | - "prefer-stable": true, |
19 | | - "config": { |
20 | | - "optimize-autoloader": true, |
21 | | - "preferred-install": { |
22 | | - "*": "dist" |
23 | | - } |
| 20 | + "issues": "https://github.com/phpcfdi/finkok/issues", |
| 21 | + "source": "https://github.com/phpcfdi/finkok" |
24 | 22 | }, |
25 | 23 | "require": { |
26 | 24 | "php": ">=7.3", |
27 | | - "ext-json": "*", |
28 | | - "ext-soap": "*", |
29 | 25 | "ext-dom": "*", |
| 26 | + "ext-json": "*", |
30 | 27 | "ext-openssl": "*", |
31 | | - "psr/log": "^1.1", |
| 28 | + "ext-soap": "*", |
32 | 29 | "eclipxe/enum": "^0.2.0", |
| 30 | + "eclipxe/micro-catalog": "^0.1.0", |
| 31 | + "phpcfdi/cfdi-expresiones": "^3.2", |
33 | 32 | "phpcfdi/credentials": "^1.0.1", |
34 | 33 | "phpcfdi/xml-cancelacion": "^2.0.1", |
35 | | - "robrichards/xmlseclibs": "^3.0.4", |
36 | | - "eclipxe/micro-catalog": "^0.1.0", |
37 | | - "phpcfdi/cfdi-expresiones": "^3.2" |
| 34 | + "psr/log": "^1.1 || ^2.0 || ^3.0", |
| 35 | + "robrichards/xmlseclibs": "^3.0.4" |
38 | 36 | }, |
39 | 37 | "require-dev": { |
40 | 38 | "ext-fileinfo": "*", |
41 | | - "symfony/dotenv": "^5.1", |
42 | 39 | "eclipxe/cfdiutils": "^2.23.2", |
43 | | - "phpunit/phpunit": "^9.5.10" |
| 40 | + "phpcfdi/rfc": "^1.1", |
| 41 | + "phpunit/phpunit": "^9.5.10", |
| 42 | + "symfony/dotenv": "^5.1 || ^6.0" |
44 | 43 | }, |
| 44 | + "prefer-stable": true, |
45 | 45 | "autoload": { |
46 | 46 | "psr-4": { |
47 | 47 | "PhpCfdi\\Finkok\\": "src/" |
|
52 | 52 | "PhpCfdi\\Finkok\\Tests\\": "tests/" |
53 | 53 | } |
54 | 54 | }, |
| 55 | + "config": { |
| 56 | + "optimize-autoloader": true, |
| 57 | + "preferred-install": { |
| 58 | + "*": "dist" |
| 59 | + } |
| 60 | + }, |
55 | 61 | "scripts": { |
56 | | - "dev:build": ["@dev:fix-style", "@dev:check-style", "@dev:test"], |
| 62 | + "dev:build": [ |
| 63 | + "@dev:fix-style", |
| 64 | + "@dev:check-style", |
| 65 | + "@dev:test" |
| 66 | + ], |
57 | 67 | "dev:check-style": [ |
| 68 | + "@php tools/composer-normalize normalize --dry-run", |
58 | 69 | "@php tools/php-cs-fixer fix --dry-run --verbose", |
59 | 70 | "@php tools/phpcs --colors -sp" |
60 | 71 | ], |
| 72 | + "dev:coverage": [ |
| 73 | + "@php -dzend_extension=xdebug.so vendor/bin/phpunit --verbose --coverage-html build/coverage/html/" |
| 74 | + ], |
61 | 75 | "dev:fix-style": [ |
| 76 | + "@php tools/composer-normalize normalize", |
62 | 77 | "@php tools/php-cs-fixer fix --verbose", |
63 | 78 | "@php tools/phpcbf --colors -sp" |
64 | 79 | ], |
65 | 80 | "dev:test": [ |
66 | 81 | "@php vendor/bin/phpunit --testdox --verbose --stop-on-failure tests/Unit", |
67 | 82 | "@php tools/phpstan analyse --no-progress --verbose" |
68 | | - ], |
69 | | - "dev:coverage": [ |
70 | | - "@php -dzend_extension=xdebug.so vendor/bin/phpunit --verbose --coverage-html build/coverage/html/" |
71 | 83 | ] |
72 | 84 | }, |
73 | 85 | "scripts-descriptions": { |
74 | 86 | "dev:build": "DEV: run dev:fix-style dev:check-style and dev:tests, run before pull request", |
75 | | - "dev:check-style": "DEV: search for code style errors using php-cs-fixer and phpcs", |
76 | | - "dev:fix-style": "DEV: fix code style errors using php-cs-fixer and phpcbf", |
77 | | - "dev:test": "DEV: run phpunit and phpstan", |
78 | | - "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/" |
| 87 | + "dev:check-style": "DEV: search for code style errors using composer-normalize, php-cs-fixer and phpcs", |
| 88 | + "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/", |
| 89 | + "dev:fix-style": "DEV: fix code style errors using composer-normalize, php-cs-fixer and phpcbf", |
| 90 | + "dev:test": "DEV: run phpunit and phpstan" |
79 | 91 | } |
80 | 92 | } |
0 commit comments