Skip to main content  Mautic Marketplace

Housekeeping for Mautic

Description

Keeps the Mautic database small. The mautic:housekeeping command deletes old rows from Mautic's largest tables: contact and campaign event logs, the email stats of closed emails and their devices, page hits, unused IP addresses, and contacts that were never identified and never active. It can also empty the tokens of old email stats, and optimize the tables after a cleanup.

Large cleanups run in batches, can stop after a set number of rows, and can keep a copy of every deleted row. A dry run shows the counts first. Emails you list, and emails that a segment filter names, keep their rows, so segments stay right.

Started from Leuchtfeuer's Housekeeping bundle. Works with Mautic 5.2 on PHP 8.1 to 8.3 and Mautic 7.2 on PHP 8.2 to 8.4. Every option, and how to move from Leuchtfeuer's plugin, are in the README.


Repository statistics

Downloads

0

Stars

0

Forks

0

Open issues

0

Last updated
Package versions (1)
--
No reviews yet.

Reviews


No reviews yet.

Write a review

Log in to write a review

Install instructions

Use this method to install plugins directly from the Mautic Marketplace using the built-in CLI command.
  1. Open your terminal and navigate to your Mautic root directory.

  2. Run the following command to install the plugin: php bin/console mautic:marketplace:install author/plugin-name-bundle

  3. Go to Settings > Plugins in the Mautic UI.

  4. Find it on the screen and click to configure the plugin.

Use this for third-party plugins that are not available on Composer or when your Mautic instance uses the standard production package.
  1. Download and unzip the plugin.

  2. Rename the folder so it matches the internal bundle name, for example MauticRecaptchaBundle or CustomObjectBundle.

  3. Upload the folder to the /plugins/ directory of your Mautic installation, for example /var/www/mautic/plugins/MyCustomPluginBundle/.

  4. Go to Settings > Plugins and click Install/Upgrade Plugins.

  5. Once done, find it on the screen and click to configure the plugin.