1

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 ?

1
  • 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 at 23:19

0

Your Answer

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

Browse other questions tagged or ask your own question.