TYPO3ContentElements/composer.json
Daniel Siepmann 01d25e4c49
Allow creation of content elements
Content elements could not be created, since they needed campaigns.
In order to retrieve campaigns, the API needs to be created.
The API needs settings from current site, which is not available in that
context.

Therefore the factory is extended to also fetch site and their settings
based on page uid. The page uid is available in the context.

Since we now interact with guzzle, we add the dependency.
Wouldn't be necessary if SDK would have PSR compatible type hints.

Also tests were added for code, to keep code coverage.

Fixes: #5
2021-01-23 15:53:07 +01:00

66 lines
2.1 KiB
JSON

{
"name": "skilldisplay/typo3-skilldisplay",
"description": "SkillDisplay integration for TYPO3",
"type": "typo3-cms-extension",
"license": "GPL-2.0-or-later",
"homepage": "https://github.com/SkillDisplay/TYPO3ContentElements",
"support": {
"email": "coding@daniel-siepmann.de",
"source": "https://github.com/SkillDisplay/TYPO3ContentElements",
"issues": "https://github.com/SkillDisplay/TYPO3ContentElements/issues"
},
"authors": [
{
"name": "Daniel Siepmann",
"email": "coding@daniel-siepmann.de"
}
],
"autoload": {
"psr-4": {
"SkillDisplay\\Typo3Extension\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"SkillDisplay\\Typo3Extension\\Tests\\": "Tests/"
}
},
"require": {
"php": "7.2.* || 7.3.* || 7.4.*",
"typo3/cms-core": "^10.4",
"skilldisplay/phptoolkit": "^1.2",
"typo3/cms-backend": "^10.4",
"typo3/cms-frontend": "^10.4",
"typo3fluid/fluid": "^2.6",
"guzzlehttp/guzzle": "^6.5"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5",
"phpstan/phpstan": "^0.12.18",
"phpstan/extension-installer": "^1.0",
"maglnet/composer-require-checker": "^2.1",
"saschaegerer/phpstan-typo3": "^0.13.1",
"sensiolabs/security-checker": "^6.0",
"typo3/testing-framework": "^6.4",
"phpspec/prophecy-phpunit": "^2",
"jangregor/phpstan-prophecy": "^0.8.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
"mkdir -p .Build/web/typo3conf/ext/",
"[ -L .Build/web/typo3conf/ext/skilldisplay ] || ln -snvf ../../../../. .Build/web/typo3conf/ext/skilldisplay"
]
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"extension-key": "skilldisplay",
"web-dir": ".Build/web"
},
"branch-alias": {
"dev-main": "1.0.x-dev"
}
}
}