ijackua/yii2-gon (packagist): Push data from PHP controller to JS variable (inspired by https://github.com/gazay/gon)
Keywords: javascript|extension|yii