Get the list of installed extensions for Pimcore v5 in PHP

199 Views Asked by At

I have to write an extension (plugin/bundle) which has to check if 3 other extensions are installed and enabled. I searched for a way to ask Pimcore v5 about all installed extensions and their status. Is there is anyone who can point to some information in Pimcore docs or who knows how this can by done?

1

There are 1 best solutions below

0
On

Various Methods like

etc to check the states of the bundles are available in PimcoreBundleManager .

For more info: Take a look at the implementation of these methods in EnableCommand