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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   742 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() );