Ich weiß ehrlich gesagt nicht, wie das installiert werden muss. In einem anderen Thread habe ich den Hinweis gefunden, die composer.json im Stammverzeichnis um den Eintrag "phpoffice/phpexcel": "^1.8" zu ergänzen und den Cache zu erneuern. Dabei wird aber der Konsolentask beendet und ich erhalte die Fehlermeldung "Error 500: composer.json does not contain valid JSON parse error on line 23: ...er": "^1.5" "phpoffice/phpexcel" ---------------------^ Expected one of: 'EOF', '}', ':', ',', ']'
Hier ist die vollständige composer.json:
PHP-Code:
{
"type": "project",
"require": {
"contao/calendar-bundle": "^4.7",
"contao/comments-bundle": "^4.7",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "^4.7",
"contao/listing-bundle": "^4.7",
"contao/manager-bundle": "4.7.*",
"contao/news-bundle": "^4.7",
"contao/newsletter-bundle": "^4.7",
"fipps/contao-rssimport-bundle": "^4.1",
"hofff/contao-leads-encryption": "^1.0",
"madeyourday/contao-rocksolid-antispam": "^2.0",
"madeyourday/contao-rocksolid-columns": "^2.0",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"madeyourday/contao-rocksolid-frontend-helper": "^2.0",
"madeyourday/contao-rocksolid-icon-picker": "^2.0",
"madeyourday/contao-rocksolid-mega-menu": "^2.0",
"madeyourday/contao-rocksolid-slider": "^2.0",
"madeyourday/contao-rocksolid-theme-assistant": "^2.0",
"terminal42/contao-leads": "^1.4",
"terminal42/notification_center": "^1.5"
"phpoffice/phpexcel": "^1.8"
},
"extra": {
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
Wie installiere ich das Paket richtig?