This is a simple plugin built for Mautic 4 to enable querying the MAUTIC version constatn.
todo composer install support is still under development in mautic, until use the manual method
composer require marton/version-bundle
- download the repo
- upload to mautic-install-path/plugin/MauticVersionBundle
- clear-cache
- install plugin through admin page
After install enable it in the plugins admin page, and you can access the version on url /api/version.
todo Phpstan doesn'twork due to a mautic core-lib installation problem. see mautic/mautic#10651
composer phpunit
composer phpstan
composer phpcs