This fixes a bug where the package is loaded twice and causes a 500 error when installing via composer with the composer/installers package added. This causes the package to be installed via composer but in the plugins directory rather than the vendor directory.
Updating the autoloader generated by composer with the latest version of composer seems to fix it for me. It can now be loaded the classic kirby way, via composer into the vendor folder, or via composer with the composer/installers package adding it to the plugin directory.
This fixes a bug where the package is loaded twice and causes a 500 error when installing via composer with the composer/installers package added. This causes the package to be installed via composer but in the plugins directory rather than the vendor directory.
Updating the autoloader generated by composer with the latest version of composer seems to fix it for me. It can now be loaded the classic kirby way, via composer into the vendor folder, or via composer with the composer/installers package adding it to the plugin directory.