This plugin adds iso coutrny code (ISO2) to a contact based on what Mautic country is selected from the dropdown.
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> MZagmajsterIsoCodeBundle
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.
cd <mautic-root-folder>
rm -rf var/cache/dev/* var/cache/prod/*
cd plugins/MZagmajsterIsoCodeBundle
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.
[No tests yet.]
Please refer to PHP CS file for details on coding styles.
From plugin root folder you can also run the following commands during development.
composer lint
- Checks the PHP syntax.composer checkcs
- Checks code formatting && show what should be fixed (does not touch source files).composer fixcs
- Fixes code formatting (updates soruce files).php bin/console
command without --dev switch.[No changelog yet.]
We use SemVer for versioning. For the versions available, see the tags on this repository.
Content in this project was provided by Matic Zagmajster. For more information please see AUTHORS
file.