-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
66 lines (66 loc) · 2.19 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
{
"name": "llegaz/zelty",
"description": "PHP project for technical test purpose",
"type": "project",
"license": "MIT",
"authors": [
{
"name": "Laurent LEGAZ",
"email": "[email protected]",
"homepage": "http://laurent.legaz.eu/"
}
],
"require": {
"php": ">=7.4",
"ext-pdo": ">=7.4",
"ext-json": "*",
"slim/slim": "^4.10",
"guzzlehttp/psr7": "^2.3",
"php-di/slim-bridge": "^3.2",
"php-di/php-di": "^6.4",
"doctrine/orm": "^2.12",
"symfony/cache": "^5.4",
"doctrine/annotations": "^1.13",
"ramsey/uuid": "^4.2"
},
"require-dev": {
"phpunit/phpunit": "~9.5",
"symfony/var-dumper": "~5.4",
"friendsofphp/php-cs-fixer": "~3.8"
},
"autoload": {
"psr-4": {
"LLegaz\\ZeltyPhpTest\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"LLegaz\\ZeltyPhpTest\\Tests\\": "tests/"
}
},
"scripts": {
"pu":"@phpunit",
"puv":"@phpunit-verbose",
"cs":"@phpcsfixer",
"gm":"@generate-mapping",
"ge":"@generate-entities",
"gall":[
"@generate-mapping",
"@generate-entities"
],
"vm":"@validate-mapping",
"phpunit" : "./vendor/bin/phpunit --colors=always --configuration ./phpunit.xml",
"phpunit-verbose" : "./vendor/bin/phpunit --colors=always --configuration ./phpunit.xml -vvv",
"phpcsfixer": "./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --diff -vvv",
"generate-mapping": [
"[ -d src/Entities/test ] || mkdir src/Entities/test/",
"@php src/DevTools/doctrineConsole.php orm:convert-mapping -f --from-database annotation src/Entities/test/"
],
"generate-entities": "@php src/DevTools/doctrineConsole.php orm:generate-entities --generate-annotations=true --generate-methods=true -vvv src/Entities/test/",
"validate-mapping": "@php src/DevTools/doctrineConsole.php orm:validate-schema -vvv"
},
"scripts-descriptions": {
"pu": "Run all PHPUnit based tests",
"cs": "Clean the sources"
}
}