# Create bundle or plugin?

**URL:** <https://forum.mautic.org/t/create-bundle-or-plugin/33971>\
**Category:** Development\
**Created:** [October 30, 2024, 10:25am UTC](https://forum.mautic.org/t/create-bundle-or-plugin/33971 "2024-10-30T10:25:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexnitsche](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alexnitsche/32/12272_2.png) [@alexnitsche](https://forum.mautic.org/u/alexnitsche)\
**Post date:** [October 30, 2024, 10:25am UTC](https://forum.mautic.org/t/create-bundle-or-plugin/33971/1 "2024-10-30T10:25:04Z")

</div>

Hi guys,

when should you create a bundle (only) and when a plugin?

In my Mautic 5 instance there are bundles under /public/app/bundles and plugins under /public/plugins. In the [docs](https://devdocs.mautic.org/en/5.x/index.html) only plugins are mentioned. In my particular case, I want to implement console commands that use mysql and mysqldump under the hood. Since this scope is not related to the Mautic backend, would this be a Mautic plugin or a bundle?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [October 30, 2024, 10:33am UTC](https://forum.mautic.org/t/create-bundle-or-plugin/33971/3 "2024-10-30T10:33:18Z")

</div>

Hi, create a plugin. That’s the folder for bundles that can be installed optionally.

---

<div class="post-metadata">

**Author:** ![alexnitsche](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alexnitsche/32/12272_2.png) [@alexnitsche](https://forum.mautic.org/u/alexnitsche)\
**Post date:** [November 1, 2024, 11:48am UTC](https://forum.mautic.org/t/create-bundle-or-plugin/33971/4 "2024-11-01T11:48:23Z")

</div>

Ok, thanks, will do so. Is there any difference between bundles and plugins in the world of Mautic?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [November 1, 2024, 4:24pm UTC](https://forum.mautic.org/t/create-bundle-or-plugin/33971/5 "2024-11-01T16:24:58Z")

</div>

Both are equally powerful. The only difference is slightly different PHP namespace.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [November 3, 2024, 4:25am UTC](https://forum.mautic.org/t/create-bundle-or-plugin/33971/6 "2024-11-03T04:25:05Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
