-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
168 lines (168 loc) · 6.39 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"name": "dmk/mkcontentai",
"description": "\"mkcontentai\" is a powerful TYPO3 extension that leverages the latest advancements in artificial intelligence to generate high-quality images for your website along with alt texts. By connecting to the OpenAI API, Stability AI API or stablediffusionapi.com API, this extension provides an intuitive image generation tool that allows you to easily create custom images by simply providing a prompt. Take a look at the readme for all features.",
"type": "typo3-cms-extension",
"keywords": [
"TYPO3 CMS",
"AI",
"KI",
"image generator",
"StableDiffusion",
"OpenAI"
],
"homepage": "http://www.dmk-ebusiness.de/",
"license": "GPL-2.0-or-later",
"support": {
"email": "dev@dmk-ebusiness.de",
"source": "https://github.com/DMKEBUSINESSGMBH/typo3-mkcontentai",
"issues": "https://github.com/DMKEBUSINESSGMBH/typo3-mkcontentai/issues"
},
"authors": [
{
"name": "Michael Cygankiewicz",
"email": "dev@dmk-ebusiness.de",
"role": "Developer"
}
],
"require": {
"typo3/cms-core": "^11.5 || ^12.4",
"orhanerday/open-ai": "^3.5",
"symfony/http-client": "^5.4"
},
"require-dev": {
"typo3/testing-framework": "^6.16 || ^7.0 || ^8.0",
"sebastian/phpcpd": "^6.0",
"phpmd/phpmd": "^2.13",
"phpstan/phpstan": "^1.9",
"friendsofphp/php-cs-fixer": "^3.14",
"php-parallel-lint/php-parallel-lint": "^1.3",
"helmich/typo3-typoscript-lint": "^3.0",
"phpstan/extension-installer": "^1.2",
"saschaegerer/phpstan-typo3": "^1.8",
"captainhook/captainhook": "^5.14",
"symfony/yaml": "^5.4 || ^6.2",
"phpcompatibility/php-compatibility": "^10@dev",
"typo3/cms-filelist": "^11.5 || ^12.4"
},
"autoload": {
"psr-4": {
"DMK\\MkContentAi\\": "Classes"
}
},
"autoload-dev": {
"psr-4": {
"DMK\\MkContentAi\\Tests\\": "Tests"
}
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
"preferred-install": {
"dmk/*": "source",
"phpstan/phpstan": "dist",
"*": "dist"
},
"allow-plugins": {
"typo3/cms-composer-installers": true,
"typo3/class-alias-loader": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"extension-key": "mkcontentai",
"web-dir": ".Build/Web",
"app-dir": ".Build"
}
},
"scripts": {
"post-autoload-dump": [
"mkdir -p .Build/Web/typo3conf/ext/",
"[ -L .Build/Web/typo3conf/ext/mkcontentai ] || ln -snvf ../../../../. .Build/Web/typo3conf/ext/mkcontentai",
"[ -e .Build/bin/captainhook ] && .Build/bin/captainhook install -f -s || echo 'CaptainHook missing, skip install.'"
],
"pre-qs": "[ -e .Build/bin/phpcs ] || composer update",
"runqs": [
"@pre-qs",
"@fix",
"@lint",
"@test"
],
"lint:php": [
".Build/bin/parallel-lint ./Classes"
],
"lint:yaml": [
".Build/bin/yaml-lint --ansi -n -v ./Configuration ./Resources"
],
"lint:yamldocker": [
"yamllint -c .yamllint ./Configuration ./Resources"
],
"lint:typoscript": [
".Build/bin/typoscript-lint --ansi -v --fail-on-warnings"
],
"lint": [
"@pre-qs",
"@lint:php",
"@lint:yaml",
"@lint:typoscript"
],
"test:phpcs": [
".Build/bin/php-cs-fixer fix -v --dry-run --diff"
],
"test:phpcompatibility": [
"@test:phpcompatibility:7.4",
"@test:phpcompatibility:8.0",
"@test:phpcompatibility:8.1",
"@test:phpcompatibility:8.2",
"@test:phpcompatibility:8.3"
],
"test:phpcompatibility:7.4": [
".Build/bin/phpcs --ignore=.Build/*,Resources/Public/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 7.4"
],
"test:phpcompatibility:8.0": [
".Build/bin/phpcs --ignore=.Build/*,Resources/Public/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.0"
],
"test:phpcompatibility:8.1": [
".Build/bin/phpcs --ignore=.Build/*,Resources/Public/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.1"
],
"test:phpcompatibility:8.2": [
".Build/bin/phpcs --ignore=.Build/*,Resources/Public/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.2"
],
"test:phpcompatibility:8.3": [
".Build/bin/phpcs --ignore=.Build/*,Resources/Public/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.3"
],
"test:phpmd": [
".Build/bin/phpmd ./Classes text phpmd.xml"
],
"test:phpstan": [
".Build/bin/phpstan analyse -c phpstan.neon --memory-limit=512M"
],
"test:phpcpd": [
"(test \"$(php -v | grep \"Xdebug v3\" | wc -l)\" = 0 && .Build/bin/phpcpd ./Classes) | true"
],
"test:phpunit": [
"TYPO3_PATH_APP=$PWD/.Build TYPO3_PATH_WEB=$PWD/.Build/Web .Build/bin/phpunit -c phpunit.xml --whitelist=./Classes Tests"
],
"test:phpunit-coverage": [
"XDEBUG_MODE=coverage .Build/bin/phpunit --coverage-text --log-junit=.Build/junit.xml --coverage-clover=.Build/coverage.xml -c phpunit.xml --whitelist=./Classes Tests"
],
"test": [
"@pre-qs",
"@test:phpcs",
"@test:phpcompatibility",
"@test:phpmd",
"@test:phpstan",
"@test:phpcpd",
"@test:phpunit"
],
"fix:phpcs": [
".Build/bin/php-cs-fixer fix -v"
],
"fix": [
"@pre-qs",
"@fix:phpcs"
]
}
}