-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
81 lines (81 loc) · 1.89 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "zero-to-prod/data-model",
"description": "Transforms Data into Type-Safe DTOs.",
"license": "MIT",
"type": "library",
"keywords": [
"zero-to-prod",
"DataModel",
"Dto",
"data-model",
"data_model",
"data model",
"Data-Model",
"Data_Model",
"Data Model"
],
"readme": "./README.md",
"time": "2024-09-04",
"authors": [
{
"name": "David Smith",
"email": "dave0016@gmail.com",
"homepage": "https://davidsmith.blog/",
"role": "maintainer"
}
],
"homepage": "https://github.com/zero-to-prod/data-model",
"support": {
"email": "dave0016@gmail.com",
"issues": "https://github.com/zero-to-prod/data-model/issues",
"source": "https://github.com/zero-to-prod/data-model",
"docs": "https://zero-to-prod.github.io/data-model/",
"security": "https://github.com/zero-to-prod/data-model/blob/main/SECURITY.md"
},
"funding": [
{
"type": "GitHub",
"url": "https://github.com/sponsors/zero-to-prod"
}
],
"require": {
"php": ">=8.1.0"
},
"require-dev": {
"phpunit/phpunit": "^10.0"
},
"suggest": {
"zero-to-prod/data-model-helper": "Helpers for a DataModel.",
"zero-to-prod/data-model-factory": "Factoryies for a DataModel.",
"zero-to-prod/transformable": "Transform a class into different types."
},
"autoload": {
"psr-4": {
"Zerotoprod\\DataModel\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
},
"files": [
"./tests/functions.php"
]
},
"scripts": {
"test": [
"docker compose run --rm php81 ./vendor/bin/phpunit"
],
"test-all": [
"sh test.sh"
],
"docker": [
"docker compose run --rm php81composer"
]
},
"scripts-descriptions": {
"test": "runs tests in the container",
"test-all": "tests all php versions",
"docker": "runs the composer container"
}
}