Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

To get a list of installed Modules


Reply


3 Posts   327 Views

Avatar
Fabio

Community Member, 5 Posts

20 February 2014 at 10:48pm

Hi everybody!

i'm new in SilverStripe and i'd like to know how i can get a List of Installed Modules in a site!

Thank you!

Fabio

Avatar
Willr

Forum Moderator, 5513 Posts

21 February 2014 at 8:58pm

If the site uses Composer then the list of modules will be in the Composer.json file. Otherwise, any folder in the root of the project will be a module. See http://doc.silverstripe.org/framework/en/topics/module-development for a introduction to what is classes a 'module' in SilverStripe.

Avatar
Devlin

Community Member, 217 Posts

21 February 2014 at 9:32pm

global $manifest;
print_r( $manifest->getModules() );