Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
95 lines (95 loc) · 4.06 KB
/
Copy pathcomposer.json
File metadata and controls
95 lines (95 loc) · 4.06 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "type-lang/mapper",
"type": "library",
"description": "Library for mapping variable types to other types",
"keywords": ["types", "serializer", "mapper", "hydrator", "transformer", "normalizer", "denormalizer", "marshal", "unmarshal"],
"license": "MIT",
"support": {
"source": "https://github.com/php-type-language/mapper",
"issues": "https://github.com/php-type-language/mapper/issues"
},
"require": {
"php": "^8.1",
"type-lang/parser": "self.version",
"type-lang/printer": "self.version",
"type-lang/reader": "self.version",
"type-lang/types": "self.version"
},
"autoload": {
"psr-4": {
"TypeLang\\Mapper\\": "src",
"TypeLang\\Mapper\\Bridge\\PHPStan\\": "libs/bridge/phpstan/src",
"TypeLang\\Mapper\\Coercer\\": "libs/component/coercer/src",
"TypeLang\\Mapper\\Diagnostics\\": "libs/component/diagnostics/src",
"TypeLang\\Mapper\\Instantiator\\": "libs/component/instantiator/src",
"TypeLang\\Mapper\\Mapping\\": "libs/component/mapping/src",
"TypeLang\\Mapper\\Naming\\": "libs/component/naming/src",
"TypeLang\\Mapper\\PropertyAccessor\\": "libs/component/property-accessor/src",
"TypeLang\\Mapper\\TypeMatcher\\": "libs/component/type-matcher/src"
}
},
"require-dev": {
"jetbrains/phpstorm-attributes": "^1.3",
"nette/neon": "^3.4",
"nikic/php-parser": "^5.9",
"phpstan/phpstan": "^2.3.6",
"phpunit/phpunit": "^10.5.36|^11.0|^12.0|^13.0",
"psr/cache": "^2.0|^3.0",
"psr/simple-cache": "^2.0|^3.0",
"symfony/expression-language": "^6.4|^7.0|^8.0",
"symfony/yaml": "^6.4|^7.0|^8.0",
"type-lang/phpdoc": "self.version"
},
"suggest": {
"ext-json": "(*) Allows reading mapping configuration from JSON files",
"nette/neon": "(^3.4) Allows reading mapping configuration from NEON files",
"phpstan/phpstan": "(^2.0) Allows checking the syntax of the types in mapper calls and attributes",
"psr/cache": "(^2.0|^3.0) Allows caching metadata in a PSR-6 pool",
"psr/simple-cache": "(^2.0|^3.0) Allows caching metadata in a PSR-16 cache",
"symfony/expression-language": "(^6.4|^7.0|^8.0) Allows skipping properties by an expression",
"symfony/yaml": "(^6.4|^7.0|^8.0) Allows reading mapping configuration from YAML files",
"type-lang/mapper-symfony": "(^2.0) Allows using the mapper as a Symfony bundle",
"type-lang/phpdoc": "(^2.0) Allows reading property types from PHPDoc"
},
"autoload-dev": {
"psr-4": {
"TypeLang\\Mapper\\Tests\\": "tests",
"TypeLang\\Mapper\\Bridge\\PHPStan\\Tests\\": "libs/bridge/phpstan/tests",
"TypeLang\\Mapper\\Coercer\\Tests\\": "libs/component/coercer/tests",
"TypeLang\\Mapper\\Diagnostics\\Tests\\": "libs/component/diagnostics/tests",
"TypeLang\\Mapper\\Instantiator\\Tests\\": "libs/component/instantiator/tests",
"TypeLang\\Mapper\\Mapping\\Tests\\": "libs/component/mapping/tests",
"TypeLang\\Mapper\\Naming\\Tests\\": "libs/component/naming/tests",
"TypeLang\\Mapper\\PropertyAccessor\\Tests\\": "libs/component/property-accessor/tests",
"TypeLang\\Mapper\\TypeMatcher\\Tests\\": "libs/component/type-matcher/tests"
}
},
"extra": {
"branch-alias": {
"dev-master": "2.x-dev",
"dev-main": "2.x-dev"
},
"phpstan": {
"includes": [
"libs/bridge/phpstan/extension.neon"
]
}
},
"config": {
"sort-packages": true,
"platform-check": true,
"bin-compat": "full",
"optimize-autoloader": true,
"preferred-install": {
"*": "dist"
}
},
"scripts-aliases": {
"test:unit": ["test", "phpunit", "unit"]
},
"scripts": {
"test:unit": "phpunit"
},
"minimum-stability": "dev",
"prefer-stable": true
}