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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

To get a list of installed Modules


Go to End


3 Posts   1214 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, 5523 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, 344 Posts

21 February 2014 at 9:32pm

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