-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcomposer.json
More file actions
58 lines (58 loc) · 1.54 KB
/
composer.json
File metadata and controls
58 lines (58 loc) · 1.54 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": "mindee/mindee",
"description": "Mindee Client Library for PHP",
"type": "library",
"license": "MIT",
"require": {
"php": ">=8.1",
"ext-curl": "*",
"ext-fileinfo": "*",
"ext-json": "*",
"symfony/console": ">=6.0",
"setasign/fpdf": "^1.8",
"setasign/fpdi": "^2.6.4",
"smalot/pdfparser": "^2.12"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.38",
"phpunit/phpunit": "^9.6",
"madewithlove/license-checker": "^v1.0",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-deprecation-rules": "^2.0",
"rector/rector": "^2.4",
"projektgopher/whisky": "^0.7.4"
},
"suggest": {
"ext-imagick": "Required for PDF rasterization and image processing features",
"ghostscript/ghostscript": "Required for PDF rasterization features"
},
"autoload": {
"psr-4": {
"Mindee\\": "src"
}
},
"bin": [
"mindee",
"bin/cli.php"
],
"scripts": {
"lint:cs-fixer": "php-cs-fixer fix --dry-run --diff",
"lint:rector": "rector process src tests --dry-run",
"lint:phpstan": "phpstan analyse",
"lint": [
"@lint:phpstan",
"@lint:cs-fixer",
"@lint:rector"
],
"format:cs-fixer": "php-cs-fixer fix",
"format:rector": "rector process src tests",
"format": [
"@format:cs-fixer",
"@format:rector"
],
"test:unit": "phpunit -c tests/phpunit.xml",
"test:functional": "phpunit -c tests/functional.xml",
"test:smoke:v1": "./tests/test_v1_code_samples.sh",
"test:smoke:v2": "./tests/test_v2_code_samples.sh"
}
}