Hab es jetzt so gelöst:
app/ContaoManagerPlugin.php
PHP-Code:
<?php
use AppBundle\AppBundle;
use Contao\CoreBundle\ContaoCoreBundle;
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
use EightPoints\Bundle\GuzzleBundle\EightPointsGuzzleBundle;
class ContaoManagerPlugin implements BundlePluginInterface
{
public function getBundles(ParserInterface $parser)
{
return [
BundleConfig::create(EightPointsGuzzleBundle::class)
->setLoadAfter([ContaoCoreBundle::class]),
BundleConfig::create(AppBundle::class)
->setLoadAfter([ContaoCoreBundle::class, EightPointsGuzzleBundle::class])
->setReplace(['app']),
];
}
}
composer.json
PHP-Code:
{
...
"autoload": {
"psr-4": {
"": "src/"
},
"classmap": [
"app/ContaoManagerPlugin.php"
]
},
...
}
Composer install & Cache leeren und dann ging es. Danke!