# Plugin Abhängikeiten anderer Plugins

**URL:** <https://forum.shopware.com/t/plugin-abhangikeiten-anderer-plugins/15845>\
**Category:** Shopware 3.5\
**Tags:** resolved-topics\
**Created:** [28. September 2013 um 19:24 UTC](https://forum.shopware.com/t/plugin-abhangikeiten-anderer-plugins/15845 "2013-09-28T19:24:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Almare](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@Almare](https://forum.shopware.com/u/Almare)\
**Post date:** [28. September 2013 um 19:24 UTC](https://forum.shopware.com/t/plugin-abhangikeiten-anderer-plugins/15845/1 "2013-09-28T19:24:28Z")

</div>

Ich würde gern bei einem meiner Plugins ein anderes Plugin voraussetzen, um es zu installieren. Ich hab eine Info dazu gefunden die sich auf 3.5 bezieht aber auch unter 4.x funktioniert. `$plugins = array("Statistics","InputFilter"); if (!$this-\>assertRequiredPluginsPresent($plugins)){ throw new Enlight\_Exception("This plugin requires the statistic and recommendation plugin active"); }` Das einfach in die install() als ersten Eintrag einfügen dann läufts.
