13

I'm developing a Wordpress theme with a few other individuals and am running into a problem where I add a plugin and then I have tell the other developers about the plugin I installed and the settings I set for the plugin so that the theme works.

I was wondering if there's a way to associate plugins with a theme, so that when an individual receives the theme, the theme knows which plugins it needs and can automagically install them and their correct versions.

I suppose I'm looking for some sort of dependency management for Wordpress themes. Is there something like that out there?

2 Answers 2

9

There isn't any such feature directly in wordpress but there is a php library that do allow this kind of behaviour. Can't comment on how/if it works as I haven't tried it yet but it looks like it does the job.

You might find it useful http://tgmpluginactivation.com/

0

In addition with Mridul Aggarwal's answer, this is a list of services and open sources that might be useful:

WP2E is a service allowing developers to create and manage installation packages to deliver and maintain sets of interdependent themes and plugins.

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).

It is a Free WordPress plugin manager and bulk installation tool

This site mirrors the WordPress plugin and theme directories as a Composer repository.

This meta-plugin allows regular plugins to specify other plugins that they depend upon.

A lightweight class to add to WordPress plugins/themes to automatically install plugin dependencies.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.