Skip to content

mzagmajster/mautic-token-bundle

Repository files navigation

Mautic Token Bundle

Add {ibanmasked} token to Mautic that shows only last three digits of iban

Getting Started

Prerequisites

  • Composer 2
  • Mautic 4

Installing

Use hooks from .githooks folder on project by executing:

./bin/init.sh

Initial install described below.

cd <mautic-root-folder>
rm -rf var/cache/dev/* var/cache/prod/*
cd plugins
git clone <repo-url> MZagmajsterTokenBundle
cd <mautic-root-folder>
composer install  # You only need this druing development.
php bin/console mautic:plugins:install --dev  # You should get a message saying one or more plugins have been installed in terminal.

Typical update of plugin source code described below.

  • Make sure plugin root folder is clean from git´s point of view.
cd <mautic-root-folder>
rm -rf var/cache/dev/* var/cache/prod/*
cd plugins/MZagmajsterTokenBundle
git pull origin <branch>
php bin/console mautic:plugins:reload --dev  # You should get a message saying one or more plugins have been installed in terminal.

Running the tests

[No tests yet.]

Coding style

Project is using configuration from Mautic core.

Deployment

  • You do not have to install any composer packages inside plugin folder since we only use it during development.

  • When you are deploying the plugin make sure you call php bin/console command without --dev switch.

  • Add custom field iban

  • Upload and activate the plugin

  • Create an email and use {ibanmasked} token in email. It should only show last three digits.

Changelog

[No changelog yet.]

Documentation

[No documentation yet.]

Built With

  • Mautic - Open Source Marketing Automation Tool
  • Composer - Dependency Management

Contributing

  • If you have a suggestion for the feature or improvement consider opening an issue on GitHub (just make sure the same issue does not already exists).
  • If you want, you can open a pull request and I will make an effort to merge it.
  • Finally if this project was helpful to you consider supporting it with a donation via PayPal. Thank you!

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

Content in this project was provided by Matic Zagmajster. For more information please see AUTHORS file.

Acknowledgments

  • Thanks to entire Mautic Community for providing awesome marketing automation tool.

About

Add custom token to Mautic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published