An advanced money mask input for Yii Framework 2 based on jQuery-maskMoney plugin.
The plugin offers a simple way to create masks to your currency form fields. The yii2-money extension includes these additional
enhancements in order to use the maskMoney plugin effectively:

Note: This extension depends on the kartik-v/yii2-widgets extension which in turn depends on the
yiisoft/yii2-bootstrap extension. Check the
composer.json for this extension's requirements and dependencies.
Note: Yii 2 framework is still in active development, and until a fully stable Yii2 release, your core yii2-bootstrap packages (and its dependencies)
may be updated when you install or update this extension. You may need to lock your composer package versions for your specific app, and test
for extension break if you do not wish to auto update dependencies.

You can globally set the plugin options for your money format across the application in the params section of your Yii configuration file. You
need to set the maskMoneyOptions in your Yii application params. For example:

You can configure the widget as shown below. Any plugin option not passed, will be defaulted from the above two sections (params and formatter). Note that properties directly set in pluginOptions at the widget level as shown below, will override other global settings.