-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
94 lines (94 loc) · 2.45 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
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "cubadevops/flexi",
"description": "The flexible framework that respects standards",
"version": "1.3.0",
"time": "2024-06-02",
"license": "MIT",
"type": "project",
"minimum-stability": "stable",
"prefer-stable": true,
"keywords": [
"PHP",
"DDD",
"Hexagonal Architecture",
"PSR"
],
"authors": [
{
"name": "Carlos Batista",
"email": "[email protected]",
"homepage": "https://carlosbatista.dev",
"role": "Maintainer"
}
],
"require": {
"php": ">=7.4",
"ext-json": "*",
"cubadevops/upgrader": "^1.6",
"guzzlehttp/guzzle": "^7.7",
"psr/cache": "^1.0",
"psr/container": "^2.0",
"psr/event-dispatcher": "^1.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^2.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"psr/link": "^1.0",
"psr/log": "^1.1",
"psr/simple-cache": "^1.0",
"symfony/error-handler": "^5.4",
"vlucas/phpdotenv": "^5.5",
"ext-pcntl": "*"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"phpunit/phpunit": "^9.6",
"vimeo/psalm": "^5.22.2",
"friendsofphp/php-cs-fixer": "^3.57"
},
"autoload": {
"psr-4": {
"CubaDevOps\\Flexi\\": "src/",
"CubaDevOps\\Flexi\\Modules\\": "modules/"
}
},
"autoload-dev": {
"psr-4": {
"CubaDevOps\\Flexi\\Test\\": "tests/"
}
},
"scripts": {
"test": "phpunit --configuration phpunit.xml",
"coverage": "export XDEBUG_MODE=coverage && phpunit --configuration phpunit.xml --coverage-text",
"psalm": "psalm --show-info=true",
"fix-dry": "psalter --issues=all --dry-run",
"fix": "psalter --issues=all",
"format": "php-cs-fixer fix --rules=@PSR12,@Symfony,declare_strict_types --allow-risky=yes .",
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('env.example', '.env');\"",
"@php -r \"if (!file_exists('var/logs')) { mkdir('var/logs', 0777, true); } touch('var/logs/app.log');\""
],
"update-framework": [
"upgrader upgrade-safely"
],
"check": [
"@composer test",
"@composer psalm"
]
},
"config": {
"sort-packages": true,
"preferred-install": "auto",
"optimize-autoloader": true,
"allow-plugins": {
"bangpound/composer-constants": true
}
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/cubadevops/flexi"
}
]
}