Table of Contents
Package: mt3s/mautic-marketing-program-bundle
Repository: https://git.mt3.solutions/MT3S/mautic-marketing-program-bundle
Tested with: Mautic 7.x (Composer-based install), release v1.0.0 (pre-release, needs wider testing)
Prerequisites
- Mautic installed via Composer (the standard
mautic/recommended-projectlayout, withdocroot/as web root). ZIP-based installs are not covered. - Shell access to the Mautic server or container.
composer,git,node/npmavailable (Mautic's own post-install hooks use them).- Network access from the server to
git.mt3.solutions. - The repository is reachable over HTTPS without authentication. If it's private in your setup, configure Composer credentials first (see Troubleshooting).
Run all commands as the web server user (usually
www-data), not as root. Running as root creates root-owned files and cache that break the Mautic UI and trigger Git "dubious ownership" errors on later updates.
# Open a shell as the web user from the Mautic root directory
cd /var/www/html
su -s /bin/bash www-data
Installation steps
1. Declare the Git repository in Composer
The package is not on Packagist, so Composer must be told where to find it:
composer config repositories.mt3s-marketing-program vcs \
https://git.mt3.solutions/MT3S/mautic-marketing-program-bundle.git
2. Require the plugin
composer require mt3s/mautic-marketing-program-bundle:^1.0
Composer installs the plugin into docroot/plugins/MT3SMarketingProgramBundle and runs Mautic's post-install scripts (asset build, cache warmup). This can take a few minutes. The Sass deprecation warnings in the output come from Mautic core and are harmless.
3. Register the plugin in Mautic
php bin/console mautic:plugins:reload
4. Run database migrations (if the plugin ships any)
php bin/console doctrine:migrations:status
php bin/console doctrine:migrations:migrate --no-interaction
5. Clear the cache
php bin/console cache:clear
6. Verify in the UI
- Log in to Mautic as an administrator.
- Go to Settings → Plugins.
- Confirm MT3S Marketing Program Bundle is listed. Open it and publish or configure it if required.
Then check that the menu items, permissions (Settings → Roles) and any new objects provided by the plugin are visible.
Updating to a new version
composer update mt3s/mautic-marketing-program-bundle
php bin/console mautic:plugins:reload
php bin/console doctrine:migrations:migrate --no-interaction
php bin/console cache:clear
To pin a specific version, require it explicitly, e.g. composer require mt3s/mautic-marketing-program-bundle:1.0.0. Each update triggers Mautic's asset regeneration, so schedule it off-peak.
Rolling back
composer require mt3s/mautic-marketing-program-bundle:<previous-version>
php bin/console mautic:plugins:reload
php bin/console cache:clear
If the new version added database migrations, roll them back first (or restore a DB backup). Always back up the database before updating.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| found ...[dev-main] but it does not match the constraint ^1.0 | No semver tag visible to Composer | Check that tag v1.0.0 exists on the repo, then run composer clear-cache and retry |
| detected dubious ownership in repository | Plugin folder owned by a different user than the one running Composer | Run Composer as www-data, or delete docroot/plugins/MT3SMarketingProgramBundle and reinstall |
| Permission errors or blank pages in the UI after install | Composer or console was run as root | chown -R www-data:www-data docroot/plugins docroot/assets var then cache:clear as www-data |
| Plugin not listed in Settings → Plugins | Plugins not reloaded or cache stale | Re-run mautic:plugins:reload and cache:clear |
| Composer cannot access the repo (401/403) | Repository private or credentials missing | Add credentials: composer config --global http-basic.git.mt3.solutions |
Notes
composer auditmay report advisories on Mautic's own dependencies. These are unrelated to this plugin and are resolved by upgrading Mautic core.v1.0.0was released as a pre-release and has only been tested on one production Mautic 7.22 instance. Test on a staging copy before deploying to production.
A few optional additions for the wiki, which I can draft if useful: a Docker-specific variant (commands wrapped in docker exec -u www-data), a short "what this plugin does" section, or a compatibility matrix once more Mautic versions are tested.