-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
76 lines (76 loc) · 2.3 KB
/
composer.json
File metadata and controls
76 lines (76 loc) · 2.3 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "tiny-blocks/mapper",
"description": "Maps PHP objects to and from arrays, JSON, and iterables through reflection and pluggable strategies.",
"license": "MIT",
"type": "library",
"keywords": [
"dto",
"json",
"array",
"object",
"mapper",
"hydration",
"tiny-blocks",
"object-mapper",
"serialization"
],
"authors": [
{
"name": "Gustavo Freze de Araujo Santos",
"homepage": "https://github.com/gustavofreze"
}
],
"homepage": "https://github.com/tiny-blocks/mapper",
"support": {
"issues": "https://github.com/tiny-blocks/mapper/issues",
"source": "https://github.com/tiny-blocks/mapper"
},
"require": {
"php": "^8.5"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.51",
"infection/infection": "^0.32",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^13.1",
"squizlabs/php_codesniffer": "^4.0"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"TinyBlocks\\Mapper\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Test\\TinyBlocks\\Mapper\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"infection/extension-installer": true
},
"sort-packages": true
},
"scripts": {
"configure": [
"@composer install --optimize-autoloader",
"@composer normalize"
],
"configure-and-update": [
"@composer update --optimize-autoloader",
"@composer normalize"
],
"review": [
"@php ./vendor/bin/phpcs --standard=phpcs.xml --extensions=php ./src ./tests",
"@php ./vendor/bin/phpstan analyse -c phpstan.neon.dist --quiet --no-progress"
],
"test-file": "@php ./vendor/bin/phpunit --configuration phpunit.xml --no-coverage --filter",
"tests": [
"@php -d memory_limit=2G ./vendor/bin/phpunit --configuration phpunit.xml tests",
"@php ./vendor/bin/infection --threads=max --logger-html=reports/coverage/mutation-report.html --coverage=reports/coverage"
]
}
}