Create bundle or plugin?

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 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?

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

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

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

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