In my extension i load via composer the library ScssPhp\ScssPhp but in some sites there are others extensions installed which loads the same library ScssPhp\ScssPhp.

It's the ScssPhp\ScssPhp from my extension vendor which is always loaded by others.

What i should do ? Set a Prefix at the begining on all namespace declarations of ScssPhp\ScssPhp of my vendor directory ?

  • Can your extension check for the existence of the ScssPhp and only load it via composer if it is not already available?
    – Irata
    Nov 1, 2023 at 23:19


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.