Skip to content

Remove Ludwig from Composer

Carina Antunes requested to merge crdeoliv-v9.5-1-patch-12775 into v9.5-1

Error on fresh clones:

/app $ drush updb
 [error]  File not found: /app/web/modules/contrib/feeds/lib/laminas-laminas-servicemanager/3.15.0/src/autoload.php.

I've dig a bit into this. So it seems the problems is that laminas-servicemanager which is a dependency from feeds, is only declared in feeds ludwig.json and not in composer.json. From my understanding Ludwig requires us to go into admin/reports/packages to download the missing dependencies declared in the json file. It's not an automated flow.

Declaring the dependency in our composer does not solve this, because ultimately it's a Ludwig problem.


In any case it seems Ludwig itself advices one should not use it at the same time than Composer. Sources:



I tested removing it and although it fixes the issue, it also needed a drush cdel core.extension module.ludwig to remove some errors, so it seems we'll need to clean up all sites if we remove it.

Any feedback? Any reason to keep Ludwig? cc/ all

Edited by Carina Antunes

Merge request reports